Active Topics

 



Notices


Reply
Thread Tools
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#1
Hi all,

I installed the davfs2 package (http://maemo.org/packages/package_in....4.3-3-maemo5/) using dpkg, in particular:

# dpkg --ignore-depends=neon -i davfs2_1.4.3-3-maemo4_armel.deb

Reason for ignore-depends is because there is no "neon" package. There is a "libneon" (http://maemo.org/packages/view/libneon/) and "libneon27" (http://maemo.org/packages/package_in....29.3-2maemo1/).

The latter is the one that I installed, and mounting davfs file systems works OK.

Now apt-get complains that package "neon" is missing and therefore wants to remove "davfs". This happens e.g. if I do apt-get autoremove or if I use FAM (because it always issues an "autoremove" before install).

If I do "apt-get -f install" apt-get tells me it wants to remove davfs2.

NOW, I want to tell dpkg somehow to stop bugging me and consider "neon" to be installed. Is there some way to do this?

I'm not expert in DEB (happy Slackware user and searching around here and in google didn't turn up anything.
 
Posts: 1,048 | Thanked: 1,127 times | Joined on Jan 2010 @ Amsterdam
#2
Reino,

I don't have my n900 with me a.t.m. but I am fairly sure dpkg and/or apt allow for keeping specific pieces of software around.

Code:
echo package hold|dpkg --set-selection
To install a selection, change hold to install, so

Code:
echo package install|dpkg --set-selection
That should do the trick.
 

The Following User Says Thank You to anthonie For This Useful Post:
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#3
Thanks. Unfortunately it didn't work. That just "holds" the davfs2 package, but apt-get still complains about the missing dependency.

I guess I'll have to somehow create a fake "neon" package to shut apt-get up.

I wonder what the effect of "dpkg -P dpkg apt-get" would be. Feel tempted. Really.
 
Posts: 1,048 | Thanked: 1,127 times | Joined on Jan 2010 @ Amsterdam
#4
Reinob,

Apt allows for the same kind of method:

Code:
apt-get install <package> --ignore-hold
More info at the online man page for apt, below.

http://linux.die.net/man/8/apt-get
 

The Following User Says Thank You to anthonie For This Useful Post:
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#5
AFAIK --ignore-hold does a diffeent thing, and it didn't work anyway.

In the end I've decided to (for now) remove davfs2. I will then download it and hack the neon dependency out of it, or if that doesn't work out I'll try to create a fake "neon" package.

Unfortunately equivs doesn't work on the N900 (needs a whole lot of packages), so I'll see how I can "hand-craft" a meta-package.

I really really rate packaging systems, especially in combination with bad packages.
 
pusak gaoq's Avatar
Posts: 723 | Thanked: 519 times | Joined on Nov 2010 @ Kuching:Malaysia
#6
there two way you can fixed this....

1.contact the maintainer & ask him to remove the neon dependencies....
2.edit the files (deb) your self...
__________________
My Phone Evolution : Nokia 3650-Nokia 6600-Nokia 6630-Motorola Rizr-Sony P1i-Nokia E63-Nokia X3-Samsung E980-Iphone 2G-Sony W595-Nokia E71-Nokia 5800-Nokia N900-HTC Hero-Xperia Mini Pro
 

The Following User Says Thank You to pusak gaoq For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 17:16.