[SGVLUG] apt-get troubles

Braydon ronin at braydon.com
Tue May 29 15:09:49 PDT 2012


My goal right now is to fix the packages, so if I restart everything is
okay. Upgrading I can take care of later, and backing up everything now.

I've updated my apt sources to use:
deb http://old-releases.ubuntu.com/ubuntu/ jaunty main restricted
deb-src http://old-releases.ubuntu.com/ubuntu/ jaunty main restricted

So that apt-get update will retrieve all the packages, and now when I
run "apt-get -f install", it wants to remove everything, so libc6 likely
is the problem? And should manually dpkg install it again? Here is the
output:

The following packages were automatically installed and are no longer
required:
  libgtk2.0-common gcc-4.3-base libx11-data libklibc mysql-common
klibc-utils linux-libc-dev autotools-dev libgsf-1-common xdg-utils
libthai-data x11-common libconfig-inifiles-perl dbconfig-common
  busybox-initramfs
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  gcc-4.3-base
The following packages will be REMOVED:
  adduser apache2 apache2-mpm-prefork apache2-prefork-dev apache2-utils
apache2.2-common apt apt-utils aptitude autoconf automake1.4 awstats
base-files bash bash-completion binutils bsdmainutils bzip2
  checkinstall comerr-dev courier-authdaemon courier-authlib
courier-authlib-userdb courier-base courier-imap cpio cron curl
curlftpfs db4.6-util defoma dhcp3-client dhcp3-common dpkg-dev dspam emacs
  emacs22-bin-common emacs22-common emacs22-gtk emacsen-common expect
ffmpeg ffmpeg2theora file fontconfig fontconfig-config fuse-utils gamin
gcc gcc-4.2 git git-core gnupg gpgv groff-base gsfonts htop icecast2
  ifupdown imagemagick initramfs-tools initscripts iproute iputils-ping
klogd less liba52-0.7.4 liba52-0.7.4-dev libapache2-mod-auth-plain
libapache2-mod-perl2 libapache2-mod-php5 libapr1 libapr1-dev libaprutil1
  libaprutil1-dev libapt-pkg-perl libasound2 libatk1.0-0 libatm1
libavcodec-unstripped-52 libavcodec1d libavdevice52 libavfilter0
libavformat1d libavformat52 libavutil-unstripped-49 libavutil1d
  libberkeleydb-perl libbz2-1.0 libc-bin libc-dev-bin libc6-dev
libcairo2 libcap1 libcroco3 libcupsys2 libcurl3 libcurl3-gnutls
libcwidget3 libdatrie0 libdb4.6-dev libdbd-mysql-perl libdbi-perl
libdbus-1-3
  libdc1394-13 libdc1394-22 libdevel-symdump-perl libdevmapper1.02.1
libdigest-hmac-perl libdigest-sha1-perl libdirectfb-1.0-0 libdjvulibre15
libdspam7 libdspam7-drv-mysql libedit2 liberror-perl libexpat1
  libexpat1-dev libfaac-dev libfaac0 libfaad-dev libfaad0 libfontconfig1
libfreetype6 libfuse2 libgamin0 libgcrypt11 libgd2-xpm libgdbm3 libgif4
libglib2.0-0 libgnutls13 libgomp1 libgpg-error0 libgpmg1
  libgraphviz4 libgsf-1-114 libgsm1 libgtk2.0-0 libhtml-parser-perl
libhtml-tagset-perl libhtml-tree-perl libice6 libidn11
libio-multiplex-perl libjasper1 libjpeg62 libkadm55 libkeyutils1
libkrb5-dev libkrb53
  liblcms1 libldap-2.4-2 libldap2-dev liblockfile1 libltdl3 liblzo2-2
libmagic1 libmagick10 libmp3lame0 libmysqlclient15off libncursesw5
libneon27 libnet-cidr-perl libnet-daemon-perl libnet-dns-perl
  libnet-ip-perl libnet-server-perl libnewt0.52 libogg0 liboil0.3
libopencdk10 libopenexr2ldbl libpango1.0-0 libpango1.0-common
libpcre3-dev libpcrecpp0 libperl5.8 libpixman-1-0 libplrpc-perl
libpng12-0 libpopt0
  libpostproc51 libpq-dev libpq5 libraw1394-8 libreadline5 librsvg2-2
librsvg2-bin libsasl2-2 libsasl2-modules libschroedinger-1.0-0
libsdl1.2debian libsdl1.2debian-alsa libsigc++-2.0-0c2a libsm6 libspeex1
  libsqlite3-0 libsqlite3-dev libssl-dev libssl0.9.8 libsvn1 libswscale0
libswscale1d libsysfs2 libt1-5 libtasn1-3 libthai0 libtheora0 libtiff4
libtimedate-perl libtool libts-0.0-0 liburi-perl libusb-0.1-4
  libvolume-id0 libvorbis0a libvorbisenc2 libwmf0.2-7 libwrap0
libwww-perl libx11-6 libx264-57 libx264-65 libx264-dev libxau6
libxcb-xlib0 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6
libxext6
  libxfixes3 libxft2 libxi6 libxinerama1 libxml2 libxmu6 libxpm4
libxrandr2 libxrender1 libxslt1.1 libxt6 libxvidcore4 libxvidcore4-dev
links locales localization-config logrotate m4 mailx make man-db mawk
  module-init-tools mtr-tiny mutt mysql-client-5.0 mysql-server-5.0 nano
net-tools openssh-client openssh-server openssl patch perl perl-modules
php-mode php-pear php5-cli php5-common php5-curl php5-dev php5-gd
  php5-mysql postfix postfix-pcre postgrey procmail procps psmisc python
python2.5 rsync sasl2-bin shtool ssl-cert startup-tasks subversion sudo
sysklogd system-services tcl8.4 tcpd telnet ttf-dejavu
  ttf-dejavu-core ttf-dejavu-extra ubuntu-keyring udev unzip upstart
upstart-compat-sysv upstart-logd uuid-dev uuid-runtime vim-common
vim-tiny wget whiptail xclip yasm youtube-dl zip zlib1g-dev
The following NEW packages will be installed:
  gcc-4.3-base
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
  apt base-files bash libc-bin
0 upgraded, 1 newly installed, 316 to remove and 14 not upgraded.
1 not fully installed or removed.
Need to get 107kB of archives.
After this operation, 517MB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
 ?]


On 05/29/2012 02:34 PM, Braddock Gaskill wrote:
> 
> On Tue, 29 May 2012 14:13:05 -0700, Braydon <ronin at braydon.com> wrote:
>> So I have a VPS with Ubuntu jaunty on it, and have recently run:
> 
> Jaunty is Ubuntu 9.04, which is not a Long Term Support (LTS) release and
> an upgrade to Precise 12.04 LTS would probably fail.
> 
> As far as I understand the only upgrade paths Canonical tests are 10.04
> LTS -> 12.04 LTS and 11.10 -> 12.04 LTS, and they actually recommend NOT
> attempting a 10.04->12.04 until they get the bugs worked out in the next
> minor point release in June.
> 
> I find in general that I'm much better off doing an installation from
> scratch than trying to upgrade.
> 
> -braddock
> 
>>
>> $ apt-get install ca-certificates
>>
>> And with it came a few other packages, and then failed midway through,
>> stating, that I needed to add "lenny" to my sources  (strange because
>> this isn't Debian) and then run a command that I've last in my screen
>> now, to update the kernel.
>>
>> So now when I run:
>>
>> $apt-get -f install
>>
>> I get this message:
>>
>> The following packages have unmet dependencies:
>>   libc-bin: Breaks: libc6 (< 2.10) but 2.9-4ubuntu6.3 is installed
>>   libc-dev-bin: Depends: libc6 (> 2.15) but 2.9-4ubuntu6.3 is installed
>> E: Error, pkgProblemResolver::Resolve generated breaks, this may be
>> caused by held packages.
>> E: Unable to correct dependencies
>>
>> And I've updated my sources to "precise" (for the latest 12.4 release),
>> and was attempting to update the whole machine.
>>
>> What to do?
>>
>> -Braydon
> 
> !DSPAM:4fc540da172373310585754!
> 


-- 
Braydon Fuller
http://aweplanet.com/braydon


More information about the SGVLUG mailing list