How to trick APT into believing a dependency is met?
I installed 'limewire' from rbos apt repository, onto my 9.2 system. Its an older package made for 9.1 (i think) so i had to download the package manually and use rpm to get it installed as it has a dependency for j2re, and 9.2 is called 'java-1_4_2-sun' as soon as i try using apt now i get: Reading Package Lists... Done Building Dependency Tree... Done You might want to run `apt-get --fix-broken install' to correct these: The following packages have unmet dependencies: LimeWire-free: Depends: j2re (>= 1.4.1) but it is not installable E: Unmet dependencies. Try 'apt-get --fix-broken install' with no packages (or specify a solution). How do i make apt "ignore" limewire? Or better yet; or how do i set a "link" from j2re to 'java-1_4_2-sun' for the next install that needs j2re? -- /Rikard " Sharing knowledge is the most fundamental act of friendship. Because it is a way you can give something without loosing something." -R. Stallman --------------------------------------------------------------- Rikard Johnels email : rikjoh@norweb.se Web : http://www.rikjoh.com/users/rikjoh Mob : +46 735 05 51 01 PGP : 0x461CEE56 ---------------------------------------------------------------
On Tuesday 26 Apr 2005 13:48 pm, "Rikard Johnels" wrote: <SNIP>
How do i make apt "ignore" limewire? Or better yet; or how do i set a "link" from j2re to 'java-1_4_2-sun' for the next install that needs j2re?
Create an rpm which just contains the link, and make that rpm "provide" j2re. Dylan -- "I see your Schwartz is as big as mine" -Dark Helmet
On Tuesday 26 April 2005 19.24, Dylan wrote:
On Tuesday 26 Apr 2005 13:48 pm, "Rikard Johnels" wrote: <SNIP>
How do i make apt "ignore" limewire? Or better yet; or how do i set a "link" from j2re to 'java-1_4_2-sun' for the next install that needs j2re?
Create an rpm which just contains the link, and make that rpm "provide" j2re.
Dylan
-- "I see your Schwartz is as big as mine" -Dark Helmet
Sounds smart.. Question is HOW? -- /Rikard " Sharing knowledge is the most fundamental act of friendship. Because it is a way you can give something without loosing something." -R. Stallman --------------------------------------------------------------- Rikard Johnels email : rikjoh@norweb.se Web : http://www.rikjoh.com/users/rikjoh Mob : +46 735 05 51 01 PGP : 0x461CEE56 ---------------------------------------------------------------
On Tue, 2005-04-26 at 21:12 +0200, "Rikard Johnels" wrote:
On Tuesday 26 April 2005 19.24, Dylan wrote:
On Tuesday 26 Apr 2005 13:48 pm, "Rikard Johnels" wrote: <SNIP>
How do i make apt "ignore" limewire? Or better yet; or how do i set a "link" from j2re to 'java-1_4_2-sun' for the next install that needs j2re?
Create an rpm which just contains the link, and make that rpm "provide" j2re.
Dylan
-- "I see your Schwartz is as big as mine" -Dark Helmet
Sounds smart.. Question is HOW?
http://lists.suse.com/archive/suse-linux-e/2004-Apr/0324.html Might help a little. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
** Reply to message from Ken Schneider
http://lists.suse.com/archive/suse-linux-e/2004-Apr/0324.html
Might help a little.
-- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998
rpmbuild -bb /usr/src/packages/SPECS/fake.spec gives the error message: "error: Group field must be present in package: (main package)". Can this be any Group Field, or are there specific ones to use? Ed Harrison SuSE 9.3, Kernel 2.6.11 PolarBar Mailer 1.25a
On Tuesday 26 April 2005 22:33, Ed Harrison wrote:
** Reply to message from Ken Schneider
on Tue, 26 Apr 2005 15:27:27 -0400 http://lists.suse.com/archive/suse-linux-e/2004-Apr/0324.html
Might help a little.
-- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998
rpmbuild -bb /usr/src/packages/SPECS/fake.spec
gives the error message:
"error: Group field must be present in package: (main package)".
Can this be any Group Field, or are there specific ones to use?
Any group will work. If you read the followups to the mail Ken quoted, you'll see that that was a mistake on my part in the spec I posted. Just add Group: fake at the top of the spec file and run again. Note that if you only use apt, there is an apt-specific fake-provides statement that will do the same thing quicker. The fake rpm method will work with all package managers
participants (5)
-
"Rikard Johnels"
-
Anders Johansson
-
Dylan
-
Ed Harrison
-
Ken Schneider