Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130414 - sys-apps/pmount cryptsetup-luks dependency causing blocks
Summary: sys-apps/pmount cryptsetup-luks dependency causing blocks
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Project Gentopia
URL:
Whiteboard:
Keywords:
: 130415 130416 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-18 16:21 UTC by luminoso
Modified: 2006-05-18 00:32 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description luminoso 2006-04-18 16:21:55 UTC
Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.5-r3, 2.6.16-ck3 i686)
=================================================================
System uname: 2.6.16-ck3 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [disabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -msse2 -mfpmath=sse -pipe -ffast-math"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -msse2 -mfpmath=sse -pipe -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccahce distlocks sandbox sfperms strict test"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://linuv.uv.es/mirror/gentoo/ ftp://darkstar.ist.utl.pt/pub/gentoo/ http://darkstar.ist.utl.pt/gentoo/"
LANG="pt_PT@euro.ISO-8859-15"
LC_ALL="pt_PT@euro.ISO-8859-15"
LINGUAS="pt_PT"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acl acpi adns alsa apache2 apm audiofile avi bash-completion berkdb bidi bindist bitmap-fonts bluetooh bono bonobo bzip2 canna caps cdb cdr cjk cli crypt ctype curl dba dbase dbm dbus dga dio directfb dloader dts dv dvb dvd dvdr dvdread emboss encode esd ethereal exif expat fam fastbuild fastcgi fbcon ffmpeg flac flash foomaticdb force-cgi-redirect fortran ftp gd gdbm gif ginatic glut gmp gnome gnutls gpm gstreamer gtk gtk2 gtkhtml hal hardened iconv idn imagemagick imlib innodb isdnlog java javascript jikes jpeg jpeg2k krb4 lcms libcaca libg++ libwww lm_sensors mad mbox memlimit mhash mikmod mime ming mmap mmx mng mono motif mp3 mpeg mpi msn mysql mysqli ncurses nls nptl nptlonly offensive ogg oggvorbis openal opengl openssl pam pcre pda pdf pdflib perl png posix pppd python qt quicktime readline ruby samba sdl session simplexml slang snmp soap sockets speel speex spell spl sse sse2 ssl svg svga szip tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis win32codecs wmf wxwindows xien xml xml2 xmms xosd xpm xsl xv xvid zlib linguas_pt_PT userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, PORTDIR_OVERLAY

# emerge monodoc (using monodoc has exemple)
# emerge --unmerge monodoc
# emerge --sync && emerge --metadata && env-update && source /etc/profile (just to make very very shore that everything is in order)

# emerge -Dup world

These are the packages that I would merge, in order:

[ebuild  N    ] dev-util/monodoc-1.1.13

-------------------
other example

#emerge cryptsetup-luks
#emerge --unmerge cryptsetup-luks
#emerge cryptsetup
# emerge --sync && emerge --metadata && env-update && source /etc/profile (bla bla bla bla)
#emerge -Dup world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[blocks B     ] sys-fs/cryptsetup (is blocking sys-fs/cryptsetup-luks-1.0.1-r1)
[blocks B     ] sys-fs/cryptsetup-luks (is blocking sys-fs/cryptsetup-0.1-r3)
[ebuild  N    ] sys-fs/cryptsetup-luks-1.0.1-r1

#emerge -Du world
Calculating world dependencies ...done!

!!! Error: the sys-fs/cryptsetup package conflicts with another package.
!!!        both can't be installed on the same system together.
!!!        Please use 'emerge --pretend' to determine blockers.

#emerge --unmerge sys-fs/cryptsetup-luks

--- Couldn't find sys-fs/cryptsetup-luks to unmerge.

>>> unmerge: No packages selected for removal.
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2006-04-18 16:36:36 UTC
*** Bug 130415 has been marked as a duplicate of this bug. ***
Comment 2 Andrew Gaffney (RETIRED) gentoo-dev 2006-04-18 16:36:56 UTC
*** Bug 130416 has been marked as a duplicate of this bug. ***
Comment 3 solar (RETIRED) gentoo-dev 2006-04-18 20:00:04 UTC
Never mark a bug as major unless you explain it. So far you only reported basic info and filled out a summary line.

Whats the root bug here/why did you file it 3 times and and why is it major?
Comment 4 luminoso 2006-04-19 10:03:50 UTC
(In reply to comment #3)
> Never mark a bug as major unless you explain it. So far you only reported basic
> info and filled out a summary line.
> 
> Whats the root bug here/why did you file it 3 times and and why is it major?
> 

I commited it 3 times because it was a server error.. I waited more than 2minutes for confirmation page loads.. i cliked submit serval times to make page load.. sorry.

What is happening is that portage wants to re-install packages that were unmerged. When performing an 'emerge -Du world' it forgets that the package was been removed and assumes a new installation.

I marked it major because on a new release of a package bloked by other pacakge  already unmerged i will be unable to update/install it.

Sorry for the problems that i caused.

Comment 5 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-04-19 10:32:33 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Never mark a bug as major unless you explain it. So far you only reported basic
> > info and filled out a summary line.
> > 
> > Whats the root bug here/why did you file it 3 times and and why is it major?
> > 
> 
> I commited it 3 times because it was a server error.. I waited more than
> 2minutes for confirmation page loads.. i cliked submit serval times to make
> page load.. sorry.
> 
> What is happening is that portage wants to re-install packages that were
> unmerged. When performing an 'emerge -Du world' it forgets that the package was
> been removed and assumes a new installation.
> 
> I marked it major because on a new release of a package bloked by other pacakge
>  already unmerged i will be unable to update/install it.
> 
> Sorry for the problems that i caused.
> 

emerge -uDpt world

Give me the tree output, *something* is pulling in cryptsetup-luks I think.
Comment 6 luminoso 2006-04-19 13:47:03 UTC
> emerge -uDpt world
> 
> Give me the tree output, *something* is pulling in cryptsetup-luks I think.
> 

So
1)emerged cryptsetup-luks
2)realized that i only want cryptsetup
3)unmerged cryptsetup-luks
4)merged cryptsetup

I already tryed to unmerge cryptsetup, re-emerged cryptup-luks, unmerged it again and re-emerge cryptsetup. No effect.

# emerge -uDpt world

These are the packages that I would merge, in reverse order:

Calculating world dependencies ...done!
[blocks B     ] sys-fs/cryptsetup-luks (is blocking sys-fs/cryptsetup-0.1-r3)
[blocks B     ] sys-fs/cryptsetup (is blocking sys-fs/cryptsetup-luks-1.0.1-r1)
[nomerge      ] sys-fs/cryptsetup-0.1-r3
[nomerge      ] x11-misc/xscreensaver-4.23-r1
[nomerge      ]  gnome-base/gdm-2.8.0.7-r1
[nomerge      ]   gnome-base/librsvg-2.12.7
[nomerge      ]    gnome-extra/libgsf-1.12.1
[nomerge      ]     gnome-base/gnome-vfs-2.12.2
[nomerge      ]      sys-apps/pmount-0.9.6
[ebuild  N    ]       sys-fs/cryptsetup-luks-1.0.1-r1

Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-04-19 16:01:00 UTC
This has nothing to do with portage; pmount depends on cryptsetup-luks.
Comment 8 luminoso 2006-04-19 17:11:40 UTC
(In reply to comment #7)
> This has nothing to do with portage; pmount depends on cryptsetup-luks.
> 

Why only now? I emerged cryptsetup-luks by my self. 
I have some problem with monodoc. Never emerged util my command. After i type "emerge monodoc" it always show on "emerge -Du world". Now i can't remove it for ever.
Comment 9 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-04-19 19:54:29 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > This has nothing to do with portage; pmount depends on cryptsetup-luks.
> > 
> 
> Why only now? I emerged cryptsetup-luks by my self. 
> I have some problem with monodoc. Never emerged util my command. After i type
> "emerge monodoc" it always show on "emerge -Du world". Now i can't remove it
> for ever.
> 

Maybe you set the crypt flag?

in pmount-0.9.6.ebuild
DEPEND=">=sys-apps/dbus-0.33
        >=sys-apps/hal-0.5.1
        >=sys-fs/sysfsutils-1.3.0
        crypt? ( sys-fs/cryptsetup-luks )"

So "emerge -uDpv world" will always pull in cryptsetup-luks.
Comment 10 luminoso 2006-04-20 15:42:23 UTC
> Maybe you set the crypt flag?
> 
> in pmount-0.9.6.ebuild
> DEPEND=">=sys-apps/dbus-0.33
>         >=sys-apps/hal-0.5.1
>         >=sys-fs/sysfsutils-1.3.0
>         crypt? ( sys-fs/cryptsetup-luks )"
> 
> So "emerge -uDpv world" will always pull in cryptsetup-luks.
> 

The crypt flag has been on USE all the time.. Only now that i merged cryptsetup-luks it becames a dependency?
Comment 11 Steev Klimaszewski (RETIRED) gentoo-dev 2006-05-18 00:32:37 UTC
If I recall correctly, pmount has always depended on cryptsetup-luks in the tree, the only time it didn't was when it was in the Gentopia overlay, before there was LUKS support.  I am not sure what is going on in your system, but this is not a bug in the pmount ebuild, so I am marking as invalid.