security apt source should include universe

Bug #10183 reported by Colin Muller
86
Affects Status Importance Assigned to Milestone
base-config (Ubuntu)
Fix Released
Medium
Colin Watson

Bug Description

Upgrading libmagick6 6.0.2.5-1ubuntu1.1 requires the removal of perlmagick.
perlmagick cannot be re-installed after this. No new version of perlmagick is
installed as part of libmagick6 6.0.2.5-1ubuntu1.1. As a workaround, one can
force a downgrade back to libmagick6 6.0.2.5-1ubuntu1 and re-install perlmagick.

Revision history for this message
Martin Pitt (pitti) wrote :

I don't really understand this:

  http://archive.ubuntu.com/ubuntu/pool/universe/i/imagemagick/

has the updated package perlmagick_6.0.2.5-1ubuntu1.1_i386.deb (for the other
platforms, too). Maybe you forgot to apt-get update or did only try to upgrade
libmagick6 without upgrading perlmagick?

Revision history for this message
Colin Muller (colin-durbanet) wrote :

Yes, I had used apt-get update (and Synaptic's Reload). However, thanks to your
pointer, I've worked out what is happening:

In Synaptic, had I selected all of the repositories shown. This resulted in an
/etc/apt/sources.list with these repositories in it:

deb cdrom:[Ubuntu 4.10 _Warty Warthog_ - Preview i386 Binary-1 (20041020)]/
unstable main restricted
deb http://archive.ubuntu.com/ubuntu/ warty main restricted
deb-src http://archive.ubuntu.com/ubuntu/ warty main restricted
deb http://archive.ubuntu.com/ubuntu/ warty universe
deb-src http://archive.ubuntu.com/ubuntu/ warty universe
deb http://security.ubuntu.com/ubuntu/ warty-security main restricted
deb-src http://security.ubuntu.com/ubuntu/ warty-security main restricted

Now, this package updates libmagick6:
http://archive.ubuntu.com/ubuntu/dists/warty-security/main/binary-i386/Packages.gz

However, perlmagick is updated in this package:
http://archive.ubuntu.com/ubuntu/dists/warty-security/universe/binary-i386/Packages.gz

Since Synaptic does not place "warty-security universe" into
/etc/apt/sources.list, the latter Package was not being fetched.
Adding these lines to /etc/apt/sources.list corrects the problem:

deb http://security.ubuntu.com/ubuntu/ warty-security universe
deb-src http://security.ubuntu.com/ubuntu/ warty-security universe

Adding "universe" to the warty-security lines already in the file should
presumably have the same effect.

Thanks for the help. Since universe is "unsupported", you might choose not to
consider this not a bug. If you do consider it a bug, I guess it becomes a
Synaptic configuration bug rather than a libmagick6 bug. If you would like me to
resubmit it as a Synaptic bug, let me know.

Revision history for this message
Martin Pitt (pitti) wrote :

Hi Colin!

(In reply to comment #2)
> Since Synaptic does not place "warty-security universe" into
> /etc/apt/sources.list, the latter Package was not being fetched.
> Adding these lines to /etc/apt/sources.list corrects the problem:
>
> deb http://security.ubuntu.com/ubuntu/ warty-security universe
> deb-src http://security.ubuntu.com/ubuntu/ warty-security universe
>
> Adding "universe" to the warty-security lines already in the file should
> presumably have the same effect.
>
> Thanks for the help. Since universe is "unsupported", you might choose not to
> consider this not a bug. If you do consider it a bug, I guess it becomes a
> Synaptic configuration bug rather than a libmagick6 bug. If you would like me to
> resubmit it as a Synaptic bug, let me know.

Well, I do consider it a bug, however not in Synaptic. The initial
/etc/apt/sources.list should just include the deb line for universe security.

Reassigning to the installer and to Colin, thanks in advance for doing this.

Revision history for this message
Colin Muller (colin-durbanet) wrote :

(In reply to comment #3)
> Well, I do consider it a bug, however not in Synaptic. The initial
> /etc/apt/sources.list should just include the deb line for universe security.

Ah yes, of course. I must stop getting up so early in the morning!

Thanks for sorting that; and thanks for your part in the project. Ubuntu gets so
many things so right.

Revision history for this message
Colin Watson (cjwatson) wrote :

*** Bug 10425 has been marked as a duplicate of this bug. ***

Revision history for this message
Colin Watson (cjwatson) wrote :

base-config (2.58ubuntu5) hoary; urgency=low

  * apt-setup: Add security sources for universe, commented out unless both
    security.ubuntu.com is reachable and universe is enabled (closes: Ubuntu
    #3599).

 -- Colin Watson <email address hidden> Mon, 29 Nov 2004 17:25:34 +0000

Revision history for this message
Colin Watson (cjwatson) wrote :

*** Bug 11429 has been marked as a duplicate of this bug. ***

Revision history for this message
Matt Zimmerman (mdz) wrote :

*** Bug 11046 has been marked as a duplicate of this bug. ***

Revision history for this message
Jeramy Rutley (jrutley) wrote :

Hm. For future reference, is it kosher for me to reopen bugs?

Bug 11046 was marked as a duplicate of this one, and this one was marked as
fixed, but I still can't install libsdl1.2-dev in Warty.

Revision history for this message
Colin Watson (cjwatson) wrote :

See comment #2 in this bug for directions. If adding warty-security universe
lines to /etc/apt/sources.list doesn't help, then #4513 was incorrectly marked
as a duplicate of this bug.

Revision history for this message
Jeramy Rutley (jrutley) wrote :

My /etc/apt/sources.list contains these:

deb http://security.ubuntu.com/ubuntu/ warty-security main restricted universe
multiverse
deb-src http://security.ubuntu.com/ubuntu/ warty-security main restricted
universe multiverse

so unless it makes a difference having it on separate lines or having multiverse
included, I'd say it's a different bug.

Revision history for this message
Matt Zimmerman (mdz) wrote :

*** Bug 11404 has been marked as a duplicate of this bug. ***

Revision history for this message
Matt Zimmerman (mdz) wrote :

(In reply to comment #11)
> My /etc/apt/sources.list contains these:
>
> deb http://security.ubuntu.com/ubuntu/ warty-security main restricted universe
> multiverse
> deb-src http://security.ubuntu.com/ubuntu/ warty-security main restricted
> universe multiverse
>
> so unless it makes a difference having it on separate lines or having multiverse
> included, I'd say it's a different bug.

It works fine for me:

dijkstra:[~] sudo apt-get install libsdl1.2-dev
Password:
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  aalib1 aalib1-dev alsa-headers libasound2 libasound2-dev libncurses5-dev
  libsdl1.2debian libsdl1.2debian-oss libsvga1 libsvga1-dev libx11-dev
  libxext-dev libxi-dev libxv-dev slang1-dev x-dev xlibmesa-gl-dev
  xlibmesa-glu-dev xlibs-static-dev zlib1g-dev
Suggested packages:
  alsa-base libasound2-doc xspecs
The following NEW packages will be installed:
  aalib1 aalib1-dev alsa-headers libasound2 libasound2-dev libncurses5-dev
  libsdl1.2-dev libsdl1.2debian libsdl1.2debian-oss libsvga1 libsvga1-dev
  libx11-dev libxext-dev libxi-dev libxv-dev slang1-dev x-dev xlibmesa-gl-dev
  xlibmesa-glu-dev xlibs-static-dev zlib1g-dev
0 upgraded, 21 newly installed, 0 to remove and 0 not upgraded.
Need to get 8738kB of archives.
After unpacking 30.5MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
zsh: exit 1 sudo apt-get install libsdl1.2-dev
dijkstra:[~] grep '^deb ' /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu warty main universe
deb http://security.ubuntu.com/ubuntu warty-security main restricted universe

Since the output you showed in bug #11046 included references to broken
dependencies based on version numbers which changed in a security update, I'm
fairly certain you are experiencing the same bug. Perhaps you forgot to run
apt-get update after updating sources.list?

Revision history for this message
Jeramy Rutley (jrutley) wrote :

I assure you that I did an apt-get update first.

Bizarre. There are a whole bunch of packages that list the older (warty)
version as the latest. The warty-security one is there, but I had to do a Force
Version to get them to install...

Revision history for this message
Matt Zimmerman (mdz) wrote :

(In reply to comment #14)
> I assure you that I did an apt-get update first.
>
> Bizarre. There are a whole bunch of packages that list the older (warty)
> version as the latest. The warty-security one is there, but I had to do a Force
> Version to get them to install...

Sounds like your apt configuration is broken. Try:
sudo mv /etc/apt/preferences /etc/apt/preferences.broken
apt-config dump | grep -i default-release # should be empty

Revision history for this message
Jeramy Rutley (jrutley) wrote :

(sigh)

Thank you. :)

I remember adding an Apt::DefaultRelease "Warty" to /etc/apt/apt.conf when I was
playing around with a mixed Hoary/Warty machine. Sorry for all the trouble, Matt.

Revision history for this message
Matt Zimmerman (mdz) wrote :

*** Bug 11864 has been marked as a duplicate of this bug. ***

Revision history for this message
Colin Watson (cjwatson) wrote :

*** Bug 13321 has been marked as a duplicate of this bug. ***

Revision history for this message
Matt Zimmerman (mdz) wrote :

*** Bug 13340 has been marked as a duplicate of this bug. ***

Revision history for this message
Matt Zimmerman (mdz) wrote :

*** Bug 13476 has been marked as a duplicate of this bug. ***

Revision history for this message
Matt Zimmerman (mdz) wrote :

*** Bug 15243 has been marked as a duplicate of this bug. ***

Revision history for this message
Matt Zimmerman (mdz) wrote :

*** Bug 16924 has been marked as a duplicate of this bug. ***

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.