Dependencies zu ueberfluessigem deb

18/10/2008 - 04:18 von Hans-Joachim Zierke | Report spam
Wie bringe ich apt bei, daß ich schon eine ganze Kollektion geeigneter
selbstkompilierter Kernel besitze, und wirklich nicht noch einen
installiert bekommen möchte?

Parameter wie --ignore-missing hören sich ja unheimlich gut an, haben
aber leider das Problem, nichts zu bewirken.



#v+
Odysseus:~# apt-get --ignore-missing install ivtv-modules-2.6-k7 ivtv-modules-2.6.18-6-k7
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
linux-image-2.6.18-6-k7
Suggested packages:
linux-doc-2.6.18
The following NEW packages will be installed:
ivtv-modules-2.6-k7 ivtv-modules-2.6.18-6-k7 linux-image-2.6.18-6-k7
0 upgraded, 3 newly installed, 0 to remove and 2 not upgraded.
Need to get 16,7MB of archives.
After unpacking 51,1MB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.
Odysseus:~# apt-get --fix-missing install ivtv-modules-2.6-k7 ivtv-modules-2.6.18-6-k7
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
linux-image-2.6.18-6-k7
Suggested packages:
linux-doc-2.6.18
The following NEW packages will be installed:
ivtv-modules-2.6-k7 ivtv-modules-2.6.18-6-k7 linux-image-2.6.18-6-k7
0 upgraded, 3 newly installed, 0 to remove and 2 not upgraded.
Need to get 16,7MB of archives.
After unpacking 51,1MB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.
#v-


Hans-Joachim


Suche 512MB-Riegel SDRAM-133
 

Lesen sie die antworten

#1 Michael Wagner
18/10/2008 - 07:33 | Warnen spam
* 18.10.2008 Hans-Joachim Zierke wrote:

Wie bringe ich apt bei, daß ich schon eine ganze Kollektion geeigneter
selbstkompilierter Kernel besitze, und wirklich nicht noch einen
installiert bekommen möchte?

Parameter wie --ignore-missing hören sich ja unheimlich gut an, haben
aber leider das Problem, nichts zu bewirken.



Hallo Hans-Joachim,

schau dir mal das Paket "equivs" an.

Package: equivs
Depends: debhelper (>= 4), devscripts, dpkg-dev, fakeroot, make, perl
Description: Circumvent Debian package dependencies
This package provides a tool to create Debian packages that only
contain dependency information.

One use for this is to create a metapackage: a package whose sole
purpose is to declare dependencies and conflicts on other packages so
that these will be automatically installed, upgraded, or removed.

Another use is to circumvent dependency checking. If a package P is
not installed on the system, packages that depend on P cannot normally
be installed. However, if functionality equivalent to P is known to be
installed, this tool can be used to trick the Debian package management
system into believing that package P is actually installed. NOTE: this
should be considered a crude hack to work around awkward situations,
not a normal solution. If you use equivs to work around bugs in other
Debian packages, you should also file bug reports against those
packages.


Damit erstellst du dir einfach ein Paket, das deinem Debian sagt, der
benötigte Kernel ist schon installiert.

Hth Michael

"A man has not lived until he has almost died. For those who
have fought, life has a flavor the protected will never know."

Ähnliche fragen