Jump to content


Photo

An apt-get update issue


  • Please log in to reply
26 replies to this topic

#1 iamthemaxx

iamthemaxx

    Super Hero

  • Super Hero
  • 29,287 posts
  • Location:(Check Length)

Posted 15 September 2008 - 08:59 PM

Never seen this before;
utils:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  bsdmainutils dpkg gnupg libblkid1 libsasl2 libsasl2-2 netcat openssh-client openssh-server
The following packages will be upgraded:
  bsdutils cpio cron dhcp3-client dhcp3-common dmidecode dselect ed gcc-4.1-base gpgv groff-base ifupdown info iptables
  iputils-ping klogd libacl1 libattr1 libcap1 libcomerr2 libconsole libdb4.2 libdb4.3 libdb4.4 libedit2 libgcc1 libgcrypt11
  libgdbm3 libgpg-error0 libldap-2.4-2 libnewt0.52 libpopt0 libreadline5 libsepol1 libsigc++-2.0-0c2a libslang2 libss2 libtasn1-3
  libtext-charwidth-perl libtext-iconv-perl libusb-0.1-4 libuuid1 libwrap0 logrotate man-db module-init-tools mount nano
  ncurses-bin net-tools openbsd-inetd passwd perl-base procps python2.5 python2.5-minimal sed sudo sysklogd tar tcpd traceroute
  tzdata util-linux util-linux-locales vim-common vim-tiny wget whiptail
69 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
Need to get 174kB/17.4MB of archives.
After this operation, 3019kB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://au.archive.ubuntu.com hardy-updates/main mount 2.13.1-5ubuntu2 [174kB]
Fetched 174kB in 2s (66.1kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
dpkg: regarding .../mount_2.13.1-5ubuntu2_amd64.deb containing mount:
 package uses Breaks; not supported in this dpkg
dpkg: error processing /var/cache/apt/archives/mount_2.13.1-5ubuntu2_amd64.deb (--unpack):
 unsupported dependency problem - not installing mount
Errors were encountered while processing:
 /var/cache/apt/archives/mount_2.13.1-5ubuntu2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
utils:~#
utils:~# uname -a
Linux utils 2.6.24-19-xen #1 SMP Wed Aug 20 21:08:51 UTC 2008 x86_64 GNU/Linux


Why is it complaining about AMD when I am on an i386 kernel?

utils:~# cat /etc/apt/sources.list
deb http://au.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
deb http://au.archive.ubuntu.com/ubuntu/ hardy-security main restricted
deb http://au.archive.ubuntu.com/ubuntu/ hardy-security universe
deb http://au.archive.ubuntu.com/ubuntu/ hardy-security multiverse
deb http://au.archive.ubuntu.com/ubuntu/ hardy main restricted universe multiverse
deb http://au.archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ hardy-security main restricted


Any ideas?

#2 Midnighter

Midnighter

    Titan

  • Atomican
  • 28,666 posts

Posted 15 September 2008 - 09:40 PM

Do you get the same result trying "apt-get dist-upgrade" ?
Marcus Aurelius: ‘Live a good life. If there are gods and they are just, then they will not care how devout you have been, but will welcome you based on the virtues you have lived by. If there are gods, but unjust, then you should not want to worship them. If there are no gods, then you will be gone, but will have lived a noble life that will live on in the memories of your loved ones.’

#3 Linux_Inside V2

Linux_Inside V2

    Guru

  • Atomican
  • 16,187 posts

Posted 15 September 2008 - 10:40 PM

package uses Breaks; not supported in this dpkg

apt-get update dpkg apt

#4 Midnighter

Midnighter

    Titan

  • Atomican
  • 28,666 posts

Posted 16 September 2008 - 12:30 AM

package uses Breaks; not supported in this dpkg

apt-get update dpkg apt



Out of curiousity, what does this do? Not encountered it, or this issue, before.
Marcus Aurelius: ‘Live a good life. If there are gods and they are just, then they will not care how devout you have been, but will welcome you based on the virtues you have lived by. If there are gods, but unjust, then you should not want to worship them. If there are no gods, then you will be gone, but will have lived a noble life that will live on in the memories of your loved ones.’

#5 robzy

robzy

    Immortal

  • Hero
  • 42,885 posts

Posted 16 September 2008 - 01:25 AM

package uses Breaks; not supported in this dpkg

apt-get update dpkg apt



Out of curiousity, what does this do? Not encountered it, or this issue, before.

Updates both apt-get and dpkg.

Rob.

#6 Midnighter

Midnighter

    Titan

  • Atomican
  • 28,666 posts

Posted 16 September 2008 - 03:38 AM

I would have thought apt-get dist-upgrade would have done just that anyway. *shrug*
Marcus Aurelius: ‘Live a good life. If there are gods and they are just, then they will not care how devout you have been, but will welcome you based on the virtues you have lived by. If there are gods, but unjust, then you should not want to worship them. If there are no gods, then you will be gone, but will have lived a noble life that will live on in the memories of your loved ones.’

#7 iamthemaxx

iamthemaxx

    Super Hero

  • Super Hero
  • 29,287 posts
  • Location:(Check Length)

Posted 16 September 2008 - 09:13 AM

Will give em a go tonight, thanks.

#8 robzy

robzy

    Immortal

  • Hero
  • 42,885 posts

Posted 16 September 2008 - 01:20 PM

I would have thought apt-get dist-upgrade would have done just that anyway. *shrug*

Yeah, for some reason dpkg is being "kept back" though.

Rob.

#9 Linux_Inside V2

Linux_Inside V2

    Guru

  • Atomican
  • 16,187 posts

Posted 16 September 2008 - 01:54 PM

I would have thought apt-get dist-upgrade would have done just that anyway. *shrug*

Yeah, for some reason dpkg is being "kept back" though.

Rob.


Probably due to him doing an apt-get upgrade instead of apt-get dist-upgrade

But I don't ask questions, he's probably doing it for a reason so I told him how to fix it :P

#10 Midnighter

Midnighter

    Titan

  • Atomican
  • 28,666 posts

Posted 16 September 2008 - 07:43 PM

I would have thought apt-get dist-upgrade would have done just that anyway. *shrug*

Yeah, for some reason dpkg is being "kept back" though.

Rob.


Probably due to him doing an apt-get upgrade instead of apt-get dist-upgrade

But I don't ask questions, he's probably doing it for a reason so I told him how to fix it :P



I know, I was just wanting detail was all. Now I have it. Ta.
Marcus Aurelius: ‘Live a good life. If there are gods and they are just, then they will not care how devout you have been, but will welcome you based on the virtues you have lived by. If there are gods, but unjust, then you should not want to worship them. If there are no gods, then you will be gone, but will have lived a noble life that will live on in the memories of your loved ones.’

#11 iamthemaxx

iamthemaxx

    Super Hero

  • Super Hero
  • 29,287 posts
  • Location:(Check Length)

Posted 16 September 2008 - 08:29 PM

utils:/etc/apt# apt-get update dpkg apt
E: The update command takes no arguments

utils:/etc/apt# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  cpp cpp-4.2 libck-connector0 libcurl3-gnutls libdbus-1-3 libdevmapper1.02.1 libidn11 libsasl2-modules netcat-traditional
  openssh-blacklist sysvutils
The following packages will be upgraded:
  bsdmainutils bsdutils cpio cron dhcp3-client dhcp3-common dmidecode dpkg dselect ed gcc-4.1-base gnupg gpgv groff-base ifupdown
  info iptables iputils-ping klogd libacl1 libattr1 libblkid1 libcap1 libcomerr2 libconsole libdb4.2 libdb4.3 libdb4.4 libedit2
  libgcrypt11 libgdbm3 libgpg-error0 libldap-2.4-2 libnewt0.52 libpopt0 libreadline5 libsasl2 libsasl2-2 libsepol1
  libsigc++-2.0-0c2a libslang2 libss2 libtasn1-3 libtext-charwidth-perl libtext-iconv-perl libusb-0.1-4 libuuid1 libwrap0
  logrotate man-db module-init-tools mount nano ncurses-bin net-tools netcat openbsd-inetd openssh-client openssh-server passwd
  perl-base procps python2.5 python2.5-minimal sed sudo sysklogd tar tcpd traceroute tzdata util-linux util-linux-locales
  vim-common vim-tiny wget whiptail
77 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/27.8MB of archives.
After this operation, 16.7MB of additional disk space will be used.
Do you want to continue [Y/n]?
Extracting templates from packages: 100%
Preconfiguring packages ...
dpkg: regarding .../dpkg_1.14.16.6ubuntu4_amd64.deb containing dpkg:
 package uses Breaks; not supported in this dpkg
dpkg: error processing /var/cache/apt/archives/dpkg_1.14.16.6ubuntu4_amd64.deb (--unpack):
 unsupported dependency problem - not installing dpkg
Errors were encountered while processing:
 /var/cache/apt/archives/dpkg_1.14.16.6ubuntu4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
utils:/etc/apt#


Quick, try again before I warn one of you useless bastards :p

#12 robzy

robzy

    Immortal

  • Hero
  • 42,885 posts

Posted 16 September 2008 - 08:36 PM

http://ubuntuforums....ad.php?t=425317 ?

Although it is particularly interesting that it's grabbing amd64 debs, is this common behavior? (Aimed at someone other than maxx, of course :P)

Rob.

#13 iamthemaxx

iamthemaxx

    Super Hero

  • Super Hero
  • 29,287 posts
  • Location:(Check Length)

Posted 16 September 2008 - 08:44 PM

utils:~# dpkg -i dpkg_1.14.20ubuntu6_i386.deb
dpkg: error processing dpkg_1.14.20ubuntu6_i386.deb (--install):
 package architecture (i386) does not match system (amd64)
Errors were encountered while processing:
 dpkg_1.14.20ubuntu6_i386.deb

And it get's worse.
Wonder why it thinks it is AMD....

#14 Linux_Inside V2

Linux_Inside V2

    Guru

  • Atomican
  • 16,187 posts

Posted 16 September 2008 - 09:02 PM

utils:/etc/apt# apt-get update dpkg apt
E: The update command takes no arguments


Sorry it's actually apt-get install dpkg apt

My bad!

Also, regarding the AMD64 thing, could you post the results of running uname -a ?

Cheers

#15 iamthemaxx

iamthemaxx

    Super Hero

  • Super Hero
  • 29,287 posts
  • Location:(Check Length)

Posted 16 September 2008 - 09:39 PM

uname -a is in the OP That didn't work either.

#16 Linux_Inside V2

Linux_Inside V2

    Guru

  • Atomican
  • 16,187 posts

Posted 16 September 2008 - 09:42 PM

uname -a is in the OP

That didn't work either.

Linux utils 2.6.24-19-xen #1 SMP Wed Aug 20 21:08:51 UTC 2008 x86_64 GNU/Linux


You're running a 64-bit kernel with a 32-bit userland aren't you?

I'm guessing you accidentally installed a 64-bit kernel, I'd boot up in a 32-bit one and do apt-get dist-upgrade as suggested by Midnighter

#17 iamthemaxx

iamthemaxx

    Super Hero

  • Super Hero
  • 29,287 posts
  • Location:(Check Length)

Posted 16 September 2008 - 09:47 PM

Shit, that would be it. It's an older image and I totally over looked that. /head desk

#18 Linux_Inside V2

Linux_Inside V2

    Guru

  • Atomican
  • 16,187 posts

Posted 16 September 2008 - 09:54 PM

Shit, that would be it.
It's an older image and I totally over looked that.


/head desk



It happens to the best of us!

#19 Midnighter

Midnighter

    Titan

  • Atomican
  • 28,666 posts

Posted 16 September 2008 - 11:13 PM

uname -a is in the OP

That didn't work either.

Linux utils 2.6.24-19-xen #1 SMP Wed Aug 20 21:08:51 UTC 2008 x86_64 GNU/Linux


You're running a 64-bit kernel with a 32-bit userland aren't you?

I'm guessing you accidentally installed a 64-bit kernel, I'd boot up in a 32-bit one and do apt-get dist-upgrade as suggested by Midnighter


Well, nice to see I wasn't completely off. :)
Marcus Aurelius: ‘Live a good life. If there are gods and they are just, then they will not care how devout you have been, but will welcome you based on the virtues you have lived by. If there are gods, but unjust, then you should not want to worship them. If there are no gods, then you will be gone, but will have lived a noble life that will live on in the memories of your loved ones.’

#20 robzy

robzy

    Immortal

  • Hero
  • 42,885 posts

Posted 17 September 2008 - 12:06 AM

Interesting, I wouldn't have thought using a 64bit kernel (rather than 32bit) would make a difference. Why does it make a difference? :P Rob.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users