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

Bug#440242: marked as done (apt-get dist-upgrade removed xlock)



Your message dated Tue, 11 Nov 2008 20:41:32 +0200
with message-id <4919D1DC.10805@gmail.com>
and subject line Re: Bug#440242: closed by "Eugene V. Lyubimkin" <jackyf.devel@gmail.com> (closing #440242)
has caused the Debian Bug report #440242,
regarding apt-get dist-upgrade removed xlock
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.)


-- 
440242: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440242
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Severity: important

I have cron-apt invoking apt-get dist-upgrade nightly  My
/etc/apt/sources.list references the `stable' distribution only.
Two weeks ago the nightly upgrade picked up the switch to etch.  In the
course of this upgrade it removed the xlockmore package, breaking my X
environment which uses the xlock program.  The xlockmore maintainer has
explained that that package is not available in etch; presumably this
is why apt-get decided to remove it.

I believe it is a bug for apt-get to have removed a selected package for
which there was no replacement package.  (Had I not noticed that xlock
failed to invoke, I might have left my X desktop unlocked, so I considered
flagging this as a security bug.)  I would not object to the xlockmore
package being removed in favour of some superseding package that provides
xlock in its place, but in this case there was no replacement.  It seems
to me that this is a failure to keep the `stable' distribution stable.

My /etc/apt/sources.list is

deb http://ftp.uk.debian.org/debian/ stable main
deb-src http://ftp.uk.debian.org/debian/ stable main
deb http://security.debian.org/ stable/updates main

The cron-apt output for the etch upgrade begins thus:

CRON-APT RUN [/etc/cron-apt/config]: Fri Aug 17 04:00:01 UTC 2007
CRON-APT SLEEP: 481, Fri Aug 17 04:08:02 UTC 2007
CRON-APT ACTION: 3-download
CRON-APT LINE: dist-upgrade -y -o APT::Get::Show-Upgraded=true
Reading Package Lists...
Building Dependency Tree...
The following packages will be REMOVED:
  base-config gcj-3.3 gcj-3.4 lbxproxy libdps1 libgcj5-dev libgmp3 libmodplug0
  libnewt0.51 libxft1 netkit-inetd ntp-server proxymngr xfree86-common xfwp
  xlibs xlockmore xserver-common
The following NEW packages will be installed:
  busybox cpp-4.1 cupsys-common debian-archive-keyring dmidecode dpkg-dev

I note that this lists several packages being removed, among them
xlockmore.  I was under the impression that I was using most of these
packages, but evidently (with the exception of xlockmore) they have been
suitably replaced.  For example, I run ntpd, which presumably used to
involve the ntp-server package, but now appears to be supplied by the
ntp package.

-zefram


--- End Message ---
--- Begin Message ---
Zefram wrote:
> Eugene V. Lyubimkin wrote:
>> 'dist-upgrade' command may remove packages without installing any replacement,
>> it's nature of this command. If you don't want to remove any packages, you
>> should use 'upgrade' command. All above is documented.
> 
> Where is this documented?  The man page describes dist-upgrade thus:
> 
> 	dist-upgrade in addition to performing the function of upgrade,
> 	also intelligently handles changing dependencies with new versions
> 	of packages; apt-get has a "smart" conflict resolution system,
> 	and it will attempt to upgrade the most important packages at
> 	the expense of less important ones if necessary.
"It will attempt to upgrade the most important packages at
the expense of less important ones if necessary".

May be, not very clear at first look, but 'expense of less important' means
'removal of some packages'. And you may consider look on APT How-To, I recall
this document contains very descriptive guide to apt, it should say about
possible removal explicitly.

I agree it's a good idea to advance a man to say explicitly about removing.

> There's no indication here that it might remove requested packages.
Requested? 'dist-upgrade' command takes no additional arguments, see synopsis.
Maybe, it should warn about unused arguments? Yes, I agreed, there is another
bug against apt to do it.

-- 
Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com
Ukrainian C++ Developer, Debian APT contributor

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply to: