I wonder if this is a (new?) bug i got? (I'm to lazy for good searching, this time.)

I recently got some updates/patchen, (php5-dev was in it I believe)
I think these patches broke apt-get because
when i enter:
sudo apt-get update
I get:
sudo: apt-get: command not found

3 answers, votes, 3142 views
Visitor's picture
asked by Visitor
4 years 24 weeks ago



3 Answers

  • I use 10.04 LTS.
    ltmodem-2.6.8-2-386 is not installed.

    - Visitor 4 years 24 weeks ago
  • Answer

    hmm, that's interesting. when i run sudo apt-get update it properly hits all repositories and brings the updates back. Not sure what is going on...
     
    mine is ubuntu latest 10.04. which version is yours?

    Visitor's picture
    answer by Visitor
    4 years 24 weeks ago
    Answer

    I had the same problem. Here is how i fixed it
     
     
    dpkg -r ltmodem-2.6.8-2-386
    mv /var/lib/dpkg/info/ltmodem-2.6.8-2-386.* /tmp
    apt-get install -f
     

    Visitor's picture
    answer by Visitor
    4 years 24 weeks ago
    Answer

    I use ubuntu 10.04 LTS too.
    So it is a bug.

    Visitor's picture
    answer by Visitor
    4 years 24 weeks ago
  • thanks for sharing the details.

    - Visitor 4 years 24 weeks ago
  • Okay I found the solution myself..

    cd /usr/bin
    chmod 775 apt-get.

    apt-get had no rights set at all after the patches.
    I don't know if 775 is right someone has to check what bits are normally set.
    The file has owner set to root and group set to root.

    - Visitor 4 years 24 weeks ago
  • Related Questions

    Have a question or want to discuss an idea about Chromecast? checkout chromecast forums

    Ubuntu 13.04 released!

    Ubuntu 13.04 code named Raring Ringtail is released download ubuntu 13.04. Download while it's hot!!

    View in your own language!

    Stay Connected

    Ubun2.com on Facebook Ubun2.com on Twitter RSS Feeds

    Poll

    Favorite desktop environment?: