LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-12-2009, 05:55 AM   #1
r00ster
Member
 
Registered: May 2007
Location: boundary beach, bc
Distribution: 3.2.0-4-686-pae #1 SMP Debian 3.2.60-1+deb7u3 i686 GNU/Linux
Posts: 224

Rep: Reputation: 15
apt-get dist-upgrade Iceweasel


Desktop
2.6GHz/512MB RAM/160GB HDD
HS Cable-Modem: (Motorola SURFBoard SB5101) direct to ISP (no router)

Deb/GNU 2.6.18-5-686 Etch (hd0) Qt: 3.3.7
KDE 3.5.5
Konqueror 3.5.5
Iceweasel 2.0.0.8
Icedove (Mozilla-Thunderbird 1.5.0.14pre)

I want to upgrade my Iceweasel to the current version, which I think is 3.0.7-1. I've been using apt-get as my file manager.

I'm vague on just what the "dist-upgrade" command requires and just what it does. If I enter "apt-get dist-upgrade" in the bash shell, does it automatically search my repo and install upgrades to all my installed packages? Or can/does it require a specific package name like "apt-get install [iceweasel]" does?

There is also a lot of skuttlebutt about being sure to uninstall previous versions of Mozilla-Firefox before upgrading to newer versions. That really doesn't make a lot of sense to me... unless these cautionary tales are referring to Windows.
 
Old 03-12-2009, 07:25 AM   #2
puntjuh
Member
 
Registered: Apr 2006
Location: holland
Distribution: Gentoo / debian / suse / mint
Posts: 558

Rep: Reputation: 42
Hi,

The command: apt-get dist-upgrade is a command to upgrade your full distribution. If you want to update packages i'd proceed as explained:

STEP1: First run: "apt-get update" which will seek for updates in the repositories in your /etc/apt/sources.list.

Step2: Then run: "apt-get -u upgrade", the -u option gives u an overview of packages that will be upgraded, and packages that will not be installed, the reason for this might be broken dependencies or others.

Now you can say Y or N to the upgrades.

For upgrading a single packag follow STEP 1 first, then just use command: apt-get install "package name". As STEP 1 has updated your repositories, it will now install the newest version of the package.
 
Old 03-12-2009, 04:24 PM   #3
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 461Reputation: 461Reputation: 461Reputation: 461Reputation: 461
I would suggest that you upgrade to Lenny.

Read the lenny release notes at http://www.debian.org/releases/lenny/releasenotes . See also http://bugs.debian.org/release-notes and http://wiki.debian.org/NewInLenny

Ensure your Etch installation is up to date (aptitude update; aptitude dist-upgrade). Edit your /etc/apt/sources.list and change all non-local mentions of "etch" or "stable" to "lenny". aptitude update; aptitude install aptitude; aptitude safe-upgrade; aptitude full-upgrade.

During <etch->lenny>, apt may warn 'W: There is no public key available for the following key IDs: 4D270D06F42584E6'. Lenny's Release file is signed by two keys, only one of which you have. The chain of trust has not been broken and you can proceed with the upgrade. This is a different message to if you had untrusted sources. Once the lenny version of "debian-archive-keyring" is installed, the message goes away.
 
Old 03-12-2009, 04:31 PM   #4
mase
LQ Newbie
 
Registered: Jul 2008
Posts: 22

Rep: Reputation: 15
You probably meant aptitude install dpkg aptitude.
 
Old 03-13-2009, 07:52 AM   #5
r00ster
Member
 
Registered: May 2007
Location: boundary beach, bc
Distribution: 3.2.0-4-686-pae #1 SMP Debian 3.2.60-1+deb7u3 i686 GNU/Linux
Posts: 224

Original Poster
Rep: Reputation: 15
puntjuh;

Riiiight.

I ran -u upgrade against my repo below...

Quote:
/etc/apt sources.list
# deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 NETINST Binary-1 20070204-08:45]/ etch contrib main

deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 NETINST Binary-1 20070204-08:45]/ etch contrib main

deb http://debian.yorku.ca/debian/ etch main contrib
deb-src http://debian.yorku.ca/debian/ etch main contrib

deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib

# Marillat For info visit http://www.debian-multimedia.org
#deb http://www.debian-multimedia.org etch main
#deb-src http://www.debian-multimedia.org etch main
...and got:
Code:
royrogers:~# apt-get -u upgrade
Reading package lists... Done
Building dependency tree... Done
The following packages have been kept back:
  linux-image-2.6-686
The following packages will be upgraded:
  alsa-base amarok amarok-engines amarok-xine ark avahi-daemon
  bind9-host cupsys cupsys-bsd cupsys-client cupsys-common curl
  dbus dnsutils dpkg dpkg-dev dselect enscript grub gs-esp hal
  hpijs hpijs-ppds hplip hplip-data icedove iceweasel
  initscripts kamera kappfinder kate kcalc kcharselect
  kcoloredit kcontrol kdebase kdebase-bin kdebase-data
  kdebase-kio-plugins kdegraphics kdegraphics-kfile-plugins
  kdelibs kdelibs-data kdelibs4c2a kdelirc kdepasswd kdeprint
  kdesktop kdessh kdeutils kdf kdm kdvi kedit kfax kfaxview
  kfind kfloppy kgamma kghostview kgpg khelpcenter khexedit
  kicker kiconedit kjots klaptopdaemon klipper kmenuedit kmilo
  kmrml kolourpaint konqueror konqueror-nsplugins konsole kooka
  kpager kpdf kpersonalizer kpovmodeler kregexpeditor kruler
  ksim ksmserver ksnapshot ksplash ksvg ksysguard ksysguardd
  ktimer ktip kuickshow kview kviewshell kwalletmanager kwin
  libavahi-client3 libavahi-common-data libavahi-common3
  libavahi-compat-libdnssd1 libavahi-core4 libavahi-glib1
  libavahi-qt3-1 libbind9-0 libblkid1 libc6 libc6-amd64
  libc6-i686 libcairo2 libcomerr2 libcupsimage2 libcupsys2
  libcurl3 libdbus-1-3 libdns22 libexif12 libflac++5 libflac7
  libfreetype6 libgadu3 libgnutls13 libhal-storage1 libhal1
  libhsqldb-java libicu36 libisc11 libisccc0 libisccfg1 libiw28
  libkonq4 libkrb53 libkscan1 liblcms1 libldap-2.3-0 liblwres9
  libmozjs0d libmyspell3c2 libmysqlclient15off libnspr4-0d
  libnss3-0d liboggflac3 libpam-modules libpam-runtime libpam0g
  libpanel-applet2-0 libpcre3 libpoppler0c2 libpoppler0c2-qt
  libpq4 libqt3-mt libruby1.8 libsmbclient libsndfile1
  libsnmp-base libsnmp9 libspeex1 libss2 libssl0.9.8
  libtiff-tools libtiff4 libuuid1 libvorbis0a libvorbisenc2
  libvorbisfile3 libxfont1 libxine1 libxml2 libxslt1.1
  libxul-common libxul0d linux-image-686 linux-sound-base
  locales login mtr-tiny mysql-client-5.0 mysql-common
  mysql-server-4.1 mysql-server-5.0 openoffice.org
  openoffice.org-base openoffice.org-calc openoffice.org-common
  openoffice.org-core openoffice.org-draw openoffice.org-gcj
  openoffice.org-help-en-us openoffice.org-impress
  openoffice.org-java-common openoffice.org-kde
  openoffice.org-math openoffice.org-writer openssh-client
  openssl passwd perl perl-base perl-modules poppler-utils
  python-uno python2.4 python2.4-minimal reportbug ruby1.8
  selinux-policy-refpolicy-targeted superkaramba sysv-rc
  thunderbird ttf-opensymbol unzip vim-common vim-tiny
  wireless-tools xserver-xorg-core xserver-xorg-video-nv xterm
216 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 124MB/327MB of archives.
After unpacking 6537kB disk space will be freed.
Do you want to continue [Y/n]?
First of all: I don't know any reason not to perform the upgrades; i.e., hit [Y] and continue.
I was so far behind the curve that I thought doing periodic “apt-get update”was actually doing this.

However, I don't see Iceweasel (née Firefox) among the packages.

AAMOF, I don't know for sure just what the proper name is
for the updated Iceweasel package. Is it Mozilla-Firefox, Mozilla-Iceweasel .... or what? Do I need to add a repo to my sources.list; ....or what? I've read just enough to know a lot of 'econ-watt' bulbs like me running linux get into all sorts of trouble d/lding Moz upgrades from the Moz site.

craigevil:
I'm thinking I'll install Lenny, or some other distro like Ubuntu, on a separate partition by 'n bye. I'd like to let Lenny 'breathe' a while... seems like a number of people are having problems getting browsers and OO.3 to work properly and not finding answers. It's not that I don't think your advice is good. It's just that my paranoia trumps it. I have 80 GB free space on my 160 GB HDD.
 
Old 03-13-2009, 09:04 AM   #6
puntjuh
Member
 
Registered: Apr 2006
Location: holland
Distribution: Gentoo / debian / suse / mint
Posts: 558

Rep: Reputation: 42
Iceweasel is in your list with updates :

Code:
hpijs hpijs-ppds hplip hplip-data icedove iceweasel
apt-get update only checks for updates in your repositories, to enable you to install them. Which offcourse is apt-get -u upgrade.

What version of iceweasel are u running now? The latest version in the debian etch repos is iceweasel-2.0.0.19etch1. The latest version in Lenny repo's the new stable version is 3.0.16.
 
Old 03-13-2009, 09:05 AM   #7
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
On the other hand many of us have been running Lenny for the last year, and I can tell you it's been rock solid. Both of my etch boxes upgraded to lenny without a hitch. (I followed the directions in the release notes and developer blog post, upgrading the package managers FIRST) I now have 5 boxes running Lenny and haven't experienced any of the issues you've referenced. The upgrade to Lenny would get you Iceweasel 3.0.6 though, although OO.o is still version 2.4, although you can download .deb packages for OO.o 3.x from the Openoffice.ors website

I guess it can't go perfect for everyone though, that would be too easy
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get question: dist-upgrade vs upgrade Arodef Fedora 9 06-15-2012 02:33 PM
apt-get dist-upgrade nosbod Debian 4 05-26-2006 12:35 PM
What's the difference between apt-get upgrade and apt-get dist-upgrade? davidas Linux - Newbie 4 04-04-2004 09:19 PM
apt-get dist-upgrade Culbert Debian 5 08-26-2003 12:16 AM
apt-get dist-upgrade Toasti Linux - Newbie 1 03-28-2003 07:50 AM


All times are GMT -5. The time now is 05:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration