[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#746271: marked as done (Misinterprets dstat's versioned dependency on python:any)



Your message dated Fri, 14 Aug 2015 12:35:19 +0200
with message-id <20150814103518.GA2351@crossbow>
and subject line Re: Bug#746271: Misinterprets dstat's versioned dependency on python:any
has caused the Debian Bug report #746271,
regarding Misinterprets dstat's versioned dependency on python:any
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
746271: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746271
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: dpkg
Version: 1.17.7
Severity: normal

Hi,

I tried to install dstat on a relatively recent sid system:

# apt-get -u install dstat
[...]
The following NEW packages will be installed:
  dstat
0 upgraded, 1 newly installed, 0 to remove and 323 not upgraded.
Need to get 50.5 kB of archives.
After this operation, 351 kB of additional disk space will be used.
Get:1 http://cdn.debian.net/debian/ sid/main dstat all 0.7.2-4 [50.5 kB]
Fetched 50.5 kB in 6s (8,254 B/s)               
Selecting previously unselected package dstat.
(Reading database ... 38323 files and directories currently installed.)
Unpacking dstat (from .../archives/dstat_0.7.2-4_all.deb) ...
Processing triggers for man-db ...
dpkg: dependency problems prevent configuration of dstat:
 dstat depends on python:any (>= 2.6.6-7~).

dpkg: error processing dstat (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 dstat
E: Sub-process /usr/bin/dpkg returned an error code (1)

Huh? apt-get should've taken care of that, surely?

Let's try to force it:

# apt-get -f install
[...]
0 upgraded, 0 newly installed, 0 to remove and 332 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
dpkg: dependency problems prevent configuration of dstat:
 dstat depends on python:any (>= 2.6.6-7~).

dpkg: error processing package dstat (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 dstat
E: Sub-process /usr/bin/dpkg returned an error code (1)

Installing python manually:

# apt-get -u install python
[...]
The following extra packages will be installed:
  libpython-stdlib python-minimal
Suggested packages:
  python-doc python-tk
The following packages will be upgraded:
  libpython-stdlib python python-minimal
3 upgraded, 0 newly installed, 0 to remove and 329 not upgraded.
1 not fully installed or removed.
Need to get 0 B/204 kB of archives.
After this operation, 3,072 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 38404 files and directories currently installed.)
Preparing to unpack .../python_2.7.5-5_amd64.deb ...
Unpacking python (2.7.5-5) over (2.7.5-3) ...
Preparing to unpack .../python-minimal_2.7.5-5_amd64.deb ...
Unpacking python-minimal (2.7.5-5) over (2.7.5-3) ...
Preparing to unpack .../libpython-stdlib_2.7.5-5_amd64.deb ...
Unpacking libpython-stdlib:amd64 (2.7.5-5) over (2.7.5-3) ...
Processing triggers for man-db (2.6.5-2) ...
Setting up python-minimal (2.7.5-5) ...
Setting up libpython-stdlib:amd64 (2.7.5-5) ...
Setting up python (2.7.5-5) ...
Setting up dstat (0.7.2-4) ...

So it turns out the python package was already 2.7.5-3, but for some reason
that didn't satisfy a dependency on python:any (>= 2.6.6-7~) as far as dpkg
was concerned, but did satisfy it as far as apt-get was concerned.

To me it looks like apt-get was right and dpkg was wrong.

Andras

-- 
                   Can February March? No, but April May...

--- End Message ---
--- Begin Message ---
Version: 0.9.12

On Mon, Apr 28, 2014 at 07:32:49PM +0200, Andras Korn wrote:
> Hmmm. I started with apt 0.9.9.4, but thinking that it could be a problem
> with apt, I upgraded to apt 1.0.2 and apt-get -f install still didn't fix
> the dependency problem.
[…]
> : 1398699459:0;apt-get -u install dstat
> : 1398699480:0;apt-get update
> : 1398699508:0;apt-get -f install
> : 1398699518:0;apt-get -u install dpkg apt
> : 1398699553:0;apt-get -f install
> : 1398699565:0;apt-get -u install python
> 
> So, with apt 1.0.2 apt-get -f install definitely didn't resolve the missing
> dependency.

Yes, because the bug in 0.9.12 wasn't really in apt, but in libapt-pkg,
which you hadn't upgraded and was hence still in the buggy version…

Hence this problem is fixed by now and I therefore close it, but if this
is still reprodicible feel free to reopen it!


Best regards

David Kalnischkies

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: