Find the answer to your Linux question:
Results 1 to 5 of 5
I am using ubuntu (as far as I know it is very similar to debian). Yesterday, I wanted to upgrade my dist so I typed Code: sudo apt-get dist-upgrade and ...
  1. #1
    Just Joined!
    Join Date
    Dec 2003
    Posts
    41

    apt-get dist-upgrade problems

    I am using ubuntu (as far as I know it is very similar to debian). Yesterday, I wanted to upgrade my dist so I typed
    Code:
    sudo apt-get dist-upgrade
    and got this wierd message :
    Code:
    WARNING: The following packages cannot be authenticated!
      libgcc1 file-roller firefox-gnome-support mozilla-firefox-gnome-support
      mozilla-firefox firefox hpijs foomatic-db-hpijs gaim gaim-data gimp
      gimp-data libgimp2.0 gimp-python gnome-btdownload libgnome-menu0 gnome-menus
      gtk2-engines-clearlooks powernowd python-xdg python2.4-samba smbclient
      samba-common synaptic totem totem-gstreamer xchat xchat-common
      foomatic-filters-ppds libsmbclient
    Install these packages without verification [y/N]? y
    Well, without any questions I said yes and it downloaded the packages. However, when it installed mozilla firefox package, it gave me this error message :
    Code:
    Unpacking replacement mozilla-firefox ...
    dpkg: warning - unable to delete old file `/etc/mozilla-firefox/profile/extensions': Directory not empty
    dpkg: warning - unable to delete old file `/etc/mozilla-firefox/profile/chrome': Directory not empty
    dpkg: warning - unable to delete old file `/etc/mozilla-firefox/profile': Directory not empty
    dpkg: warning - unable to delete old file `/etc/mozilla-firefox/pref': Directory not empty
    dpkg: warning - unable to delete old file `/etc/mozilla-firefox': Directory not empty
    dpkg: warning - unable to delete old file `/usr/lib/mozilla-firefox/plugins': Directory not empty
    dpkg: warning - unable to delete old file `/usr/lib/mozilla-firefox': Directory not empty
    dpkg: warning - unable to delete old file `/var/lib/mozilla-firefox/extensions': Directory not empty
    dpkg: warning - unable to delete old file `/var/lib/mozilla-firefox': Directory not empty
    Selecting previously deselected package firefox.
    Unpacking firefox (from .../firefox_1.0.6-1ubuntu1~5.04ubp1_i386.deb) ...
    Later, it kept unpacking and installing the other packages (went well!). After installing all the packages, I got this error :
    Code:
    You might want to run `apt-get -f install' to correct these.
    The following packages have unmet dependencies:
      mozilla-firefox-gnome-support: Depends: firefox-gnome-support but it is not in stalled
    E: Unmet dependencies. Try using -f.
    and again, I had no chance but to do what it recommended :
    Code:
    sudo apt-get -f install
    What I want to know is did I do the right thing? Do I have to worry about the error messages, it gave me during the dist-upgrade?

  2. #2
    Linux Guru Vergil83's Avatar
    Join Date
    Mar 2004
    Posts
    2,408
    the reason it asked for verification is because it is a new feature of apt-get that is going to make apt more secure. Not all sites have add the necessary features. So this is no problem.

    The other problem seems like a dependency problem. you did the right thing.
    Brilliant Mediocrity - Making Failure Look Good

  3. #3
    Just Joined!
    Join Date
    Dec 2003
    Posts
    41
    Alright then! THX Vergil83, you're the man!!!

  4. #4
    Linux User St. Joe's Avatar
    Join Date
    Jun 2005
    Location
    USA
    Posts
    271
    Be sure that gnupg's installed, then do:
    # gpg --keyserver keyring.debian.org --recv 4F368D5D

    Or you can do it on a pkg by pkg basis:
    # apt-get --allow-unauthenticated install packagename

    If you don't wish to add this flag each time you can store the following text inside /etc/apt/apt.conf (creating that file if it's missing):

    APT::Get::AllowUnauthenticated 1 ;
    It may be that your sole purpose in life is simply to serve as a warning to others.

  5. #5
    Linux Newbie
    Join Date
    Dec 2003
    Location
    Netherlands
    Posts
    193
    The most time you need to do this:

    apt-get update

    and then you should go for a dist-upgrade.

    This will solve problems with dependencies, etc.
    Computers Are Like Air Conditioners... They\'re both useless with Windows open!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •