Siduction Forum

Siduction Forum => Software - Support => Topic started by: bluelupo on 2012/05/04, 10:39:33

Title: apt Kniffelaufgabe
Post by: bluelupo on 2012/05/04, 10:39:33
Hallo zusammen,
wie bekomme ich mit apt heraus welches Paket, im konkreten Fall das Paket libupnp3, von einen anderen genutzt wird (Abhängigkeiten).

Desweiteren würde mich auch noch interessieren ob von den Paket libupnp3 die Libraries gerade in Benutzung sind. Wie kann ich das ermitteln?

Files des Paketes libupnp3:

# apt-file list libupnp3|grep -w ^libupnp3:
libupnp3: /usr/lib/libixml.so.2
libupnp3: /usr/lib/libixml.so.2.0.4
libupnp3: /usr/lib/libthreadutil.so.2
libupnp3: /usr/lib/libthreadutil.so.2.2.3
libupnp3: /usr/lib/libupnp.so.3
libupnp3: /usr/lib/libupnp.so.3.0.5
libupnp3: /usr/share/doc/libupnp3/changelog.Debian.gz
libupnp3: /usr/share/doc/libupnp3/changelog.gz
libupnp3: /usr/share/doc/libupnp3/copyright


Hintergrund dieses Problems ist, das dieses Paket libupnp3 beim d-u enfernt würde und ich nicht weiß welche Konsequenzen das ganze hat.
Title: RE: apt Kniffelaufgabe
Post by: towo on 2012/05/04, 10:51:43
apt-cache rdepends libupnp3

??
Title: Re: RE: apt Kniffelaufgabe
Post by: bluelupo on 2012/05/04, 10:59:03
Quote from: "towo"apt-cache rdepends libupnp3

??
Hi towo,
danke für den Tipp. Könnte ich nun den d-u, der das Paket libupnp3 entfernen würde, ohne Folgen für die Abhängigkeiten durchführen. Wie siehst du das?

# apt-cache rdepends libupnp3
libupnp3
Reverse Depends:
 vlc-nox
 libupnp4
 libupnp6
 libupnp6
 libupnp3-dev
 libupnp3-dbg

# apt-cache depends libupnp3
libupnp3
 Hängt ab von: libc6
 Kollidiert mit: <libupnp0>
 Kollidiert mit: <libupnp2>
 Kollidiert mit: libupnp4
 Ersetzt: <libupnp0>
 Ersetzt: <libupnp2>
Title: RE: Re: RE: apt Kniffelaufgabe
Post by: towo on 2012/05/04, 11:01:08
Ich seh grad das Problem nicht.
Wenn ein d-u libupnp3 entfernt, siehst Du doch, was noch so entfernt wird.
Hier geht libupnp3 übrigens nicht.
Title: RE: Re: RE: apt Kniffelaufgabe
Post by: michaa7 on 2012/05/04, 11:18:00
es lohnt immer mal zu schauen, was neu installiert wird, bei mir schaut das so aus:
QuoteDie folgenden NEUEN Pakete werden installiert:
 libasprintf0c2 libgettextpo0 libmtdev1 libupnp6 libxcb-glx0
... und dann wird klar, dass libupnp3 in den wohlverdienten ruhestand verabschiedet werden darf ("replaces" = "ersetzen").
Quote# apt-cache show libupnp6
Package: libupnp6
Source: libupnp
Version: 1:1.6.17-1
Installed-Size: 396
Maintainer: Nick Leverton <nick>
Architecture: i386
Replaces: libupnp0, libupnp2, libupnp3
...
Title: RE: Re: RE: apt Kniffelaufgabe
Post by: bluelupo on 2012/05/04, 11:20:01
Hi towo,
wer lesen kann ist klar im Vorteil ;-)


Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut      
Statusinformationen werden eingelesen... Fertig
Paketaktualisierung (Upgrade) wird berechnet... Fertig
Die folgenden Pakete werden ENTFERNT:
 libupnp3 xserver-xorg-video-s3virge xserver-xorg-video-tdfx
Die folgenden NEUEN Pakete werden installiert:
 libasprintf0c2 libgettextpo0 libmtdev1 libupnp6 libwayland0 libxcb-glx0 linux-headers-3.3-4.slh.2-aptosid-amd64
 linux-image-3.3-4.slh.2-aptosid-amd64
[...]


...es wird die libupnp6 zusätzlich neu installiet, das löst die libupnp3 ab.



# apt-cache show libupnp6
Package: libupnp6
Source: libupnp
Version: 1:1.6.17-1
Installed-Size: 390
Maintainer: Nick Leverton <nick>
Architecture: amd64
Replaces: libupnp0, libupnp2, libupnp3
Depends: libc6 (>= 2.7)
Pre-Depends: multiarch-support
Conflicts: libupnp0, libupnp2, libupnp3, libupnp4 (<< 1.8.0~svn20090313)
Description-en: Portable SDK for UPnP Devices, version 1.6 (shared libraries)
The Portable SDK for UPnP Devices (libupnp) provides developers with an
API and open source code for building control points, devices, and
bridges that are compliant with Version 1.0 of the Universal Plug and
Play Device Architecture Specification - see http://www.upnp.org/ for
specifications.
.
The libupnp6 package contains the runtime libraries for uPnP.
Homepage: http://pupnp.sourceforge.net/
Description-md5: 89149ff2f3f5e02647ab90e6cafbcb6a
Section: libs
Priority: extra
Filename: pool/main/libu/libupnp/libupnp6_1.6.17-1_amd64.deb
Size: 180280
MD5sum: d0895b92fca9b6505a26598e227b73b8
SHA1: 87f7c218129be69cc5df7f0d5c0282de44791eb6
SHA256: 94aeecea140c3d8dedad68594b3b8f503ef70680ace1ca8f6be77085902ce97e
Title: RE: Re: RE: apt Kniffelaufgabe
Post by: michaa7 on 2012/05/04, 11:21:11
sh**, zu langsam