Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187769 - portage is not cleaning files from older version when upgrading
Summary: portage is not cleaning files from older version when upgrading
Status: RESOLVED DUPLICATE of bug 134620
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 189166 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-08-05 00:51 UTC by Thomas Anderson (tanderson) (RETIRED)
Modified: 2007-08-17 14:45 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
baselayout-1.12.9's owned files. (1.12.19,3.11 KB, text/plain)
2007-08-05 00:52 UTC, Thomas Anderson (tanderson) (RETIRED)
Details
baselayout-2.0.0_rc2's owned files. (2.0.0,6.71 KB, text/plain)
2007-08-05 00:53 UTC, Thomas Anderson (tanderson) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2007-08-05 00:51:18 UTC
So, I was testing out baselayout-2. I upgrade from 1.12.9.

This is what baselayout-1.12.9-r2 owns:(Attachment)

Now I proceed to upgrade to baselayout-2.0.0_rc2.
It is installed. This is what baselayout-2.0.0_rc2 owns(Attachment #2 [details])
However, baselayout-1.12.9's /sbin/functions.sh is not deleted as per this line from the cleaning section:

--- !mtime obj /sbin/functions.sh

I think this is a portage bug.

Reproducible: Always
Comment 1 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2007-08-05 00:52:33 UTC
Created attachment 126911 [details]
baselayout-1.12.9's owned files.

This is what baselayout-1.12.9 owns
Comment 2 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2007-08-05 00:53:25 UTC
Created attachment 126913 [details]
baselayout-2.0.0_rc2's owned files.

List of files that baselayout-2.0.0_rc2 owns.
Comment 3 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2007-08-05 00:54:05 UTC
Portage 2.1.2.11 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.20-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r7 x86_64 unknown
Gentoo Base System release 2.0.0_rc2
Timestamp of tree: Thu, 02 Aug 2007 19:01:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict test userpriv"
GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo/ http://distfiles.gentoo.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/overlay"
SYNC="rsync://kv80/gentoo-portage"
USE="X acl aiglx aim amd64 berkdb bitmap-fonts branding cli cracklib crypt cups dri fortran gdbm gpm gtk iconv imap ipv6 isdnlog libg++ midi mmx mpeg3 mudflap ncurses nls nptl nptlonly nvidia opengl openmp pam pcre perl pppd python qt3 readline reflection session sockets spl sqlite3 sse sse2 ssl tcpd test truetype-fonts type1-fonts unicode vim xcomposite xine xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2007-08-05 00:54:26 UTC
If any other information is needed I'll post it.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-08-05 06:29:44 UTC
!mtime obj /sbin/functions.sh <-- means that you have modified the file manually after it's been installed. In that case, it won't get unmerged, that's a feature and not a bug. :)
Comment 6 Zac Medico gentoo-dev 2007-08-05 07:40:42 UTC
This isn't an issue in portage-2.1.3 since FEATURES=unmerge-orphans is enabled by default.

*** This bug has been marked as a duplicate of bug 134620 ***
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-08-17 14:45:13 UTC
*** Bug 189166 has been marked as a duplicate of this bug. ***