Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 12-24-2006, 01:31 AM   #1 (permalink)
 
Ultra Techie

Join Date: Apr 2005

Posts: 950

M4A1 is on a distinguished road

Send a message via AIM to M4A1
Default Editing sources.list

I need to install this: http://moblock-deb.sourceforge.net/

so i have to add two lines in the file. I do add it, then it says I can't save it cause I dont have the correct permission. I guess its read only, apparently..

how do i go about fixing this? thanks..

i'm on D. Drake
M4A1 is offline  
Old 12-24-2006, 01:34 AM   #2 (permalink)
 
Ultra Techie

Join Date: Apr 2005

Posts: 950

M4A1 is on a distinguished road

Send a message via AIM to M4A1
Default

Sorry, I got that part.

However, I'm having trouble now with someothing else:

Quote:
Add to /etc/apt/sources.list

deb http://moblock-deb.sourceforge.net/debian unstable main
deb-src http://moblock-deb.sourceforge.net/debian unstable main

Run these commands (on command line) to accept the new entries in sources.list. Adding the key to the apt keyring may be optional depending on your system's settings.

gpg --keyserver subkeys.pgp.net --recv DEDA0559

gpg --export --armor DEDA0559 | sudo apt-key add -

sudo apt-get update

Install it!

sudo apt-get install moblock-nfq
Those are the instructions. I added the two tings to the sources.list

I also then put in the lines after it in the command line.

This is what I get:

Quote:
pratik@pratik-laptop:~$ sudo apt-get install moblock-nfq
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package moblock-nfq
pratik@pratik-laptop:~$ sudo gedit /etc/apt/sources.list
pratik@pratik-laptop:~$ sudo apt-get install moblock-nfq
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package moblock-nfq
pratik@pratik-laptop:~$
pratik@pratik-laptop:~$ sudo apt-get install moblock-nfq
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package moblock-nfq
pratik@pratik-laptop:~$ sudo gedit /etc/apt/sources.list
pratik@pratik-laptop:~$ sudo apt-get install moblock-nfq
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package moblock-nfq
pratik@pratik-laptop:~$
what's up with the Couldn't find package moblock-nfq? Anyone have any ideas?
M4A1 is offline  
Old 12-24-2006, 02:31 AM   #3 (permalink)
 
Super Techie

Join Date: Jul 2004

Posts: 398

kostas

Default

you gotta do 'sudo apt-get update' first so that apt can retrieve the headers from the new repo
__________________

kostas is offline  
Old 12-24-2006, 10:34 AM   #4 (permalink)
 
Ultra Techie

Join Date: Apr 2005

Posts: 950

M4A1 is on a distinguished road

Send a message via AIM to M4A1
Default

Hi, I tried that, and now it says I have a broken package:

Quote:
pratik@pratik-laptop:~$ gpg --export --armor DEDA0559 | sudo apt-key add -
OK
pratik@pratik-laptop:~$ sudo apt-get update
Get:1 http://www.getautomatix.com dapper Release.gpg [189B]
Hit http://www.getautomatix.com dapper Release
Get:2 http://us.archive.ubuntu.com dapper Release.gpg [189B]
Get:3 http://us.archive.ubuntu.com dapper-updates Release.gpg [191B]
Get:4 http://security.ubuntu.com dapper-security Release.gpg [191B]
Get:5 http://archive.ubuntu.com dapper-backports Release.gpg [191B]
Get:6 http://archive.ubuntu.com dapper-updates Release.gpg [191B]
Hit http://us.archive.ubuntu.com dapper Release
Ign http://wine.lowvoice.nl dapper Release.gpg
Ign http://moblock-deb.sourceforge.net unstable Release.gpg
Hit http://security.ubuntu.com dapper-security Release
Get:7 http://archive.ubuntu.com dapper-security Release.gpg [191B]
Get:8 http://archive.ubuntu.com dapper Release.gpg [189B]
Hit http://archive.ubuntu.com dapper-backports Release
Hit http://www.getautomatix.com dapper/main Packages
Hit http://us.archive.ubuntu.com dapper-updates Release
Hit http://www.getautomatix.com dapper/main Packages
Get:9 http://archive.canonical.com dapper-commercial Release.gpg [191B]
Hit http://wine.lowvoice.nl dapper Release
Hit http://archive.ubuntu.com dapper-updates Release
Hit http://archive.ubuntu.com dapper-security Release
Hit http://archive.canonical.com dapper-commercial Release
Hit http://moblock-deb.sourceforge.net unstable Release
Ign http://wine.lowvoice.nl dapper/main Packages
Hit http://archive.ubuntu.com dapper Release
Hit http://wine.lowvoice.nl dapper/main Packages
Hit http://moblock-deb.sourceforge.net unstable/main Packages
Hit http://moblock-deb.sourceforge.net unstable/main Sources
Ign http://dl.google.com stable Release.gpg
Hit http://dl.google.com stable Release
Hit http://dl.google.com stable/non-free Packages
Hit http://us.archive.ubuntu.com dapper/main Packages
Hit http://security.ubuntu.com dapper-security/main Packages
Hit http://archive.ubuntu.com dapper-backports/main Packages
Hit http://us.archive.ubuntu.com dapper/restricted Packages
Hit http://us.archive.ubuntu.com dapper/main Sources
Hit http://us.archive.ubuntu.com dapper/restricted Sources
Hit http://security.ubuntu.com dapper-security/restricted Packages
Hit http://security.ubuntu.com dapper-security/main Sources
Hit http://security.ubuntu.com dapper-security/restricted Sources
Hit http://archive.ubuntu.com dapper-backports/restricted Packages
Hit http://archive.ubuntu.com dapper-backports/universe Packages
Hit http://archive.ubuntu.com dapper-backports/multiverse Packages
Hit http://us.archive.ubuntu.com dapper-updates/main Packages
Hit http://us.archive.ubuntu.com dapper-updates/restricted Packages
Hit http://us.archive.ubuntu.com dapper-updates/main Sources
Hit http://us.archive.ubuntu.com dapper-updates/restricted Sources
Hit http://archive.ubuntu.com dapper-updates/universe Packages
Hit http://archive.ubuntu.com dapper-updates/multiverse Packages
Hit http://archive.ubuntu.com dapper-security/main Packages
Hit http://archive.ubuntu.com dapper-security/restricted Packages
Hit http://archive.ubuntu.com dapper-security/universe Packages
Hit http://archive.ubuntu.com dapper-security/multiverse Packages
Hit http://archive.canonical.com dapper-commercial/main Packages
Hit http://archive.ubuntu.com dapper/universe Packages
Hit http://archive.ubuntu.com dapper/multiverse Packages
Fetched 9B in 2s (4B/s)
Reading package lists... Done
pratik@pratik-laptop:~$ sudo apt-get install moblock-nfq
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
moblock-nfq: Depends: libc6 (>= 2.3.6-6) but 2.3.6-0ubuntu20 is to be installed
Depends: libnetfilter-queue1 (>= 0.0.12) but it is not installable
Depends: libnfnetlink1 (>= 0.0.16) but it is not installable
Depends: libnetfilter-queue1 but it is not installable
E: Broken packages

M4A1 is offline  
Old 12-24-2006, 12:00 PM   #5 (permalink)
 
Super Techie

Join Date: Jul 2004

Posts: 398

kostas

Default

Try compiling from source
__________________

kostas is offline  
Old 12-24-2006, 12:13 PM   #6 (permalink)
 
Ultra Techie

Join Date: Apr 2005

Posts: 950

M4A1 is on a distinguished road

Send a message via AIM to M4A1
Default

How do you exactly do that? I'm a n00b with linux.
M4A1 is offline  
Old 12-24-2006, 04:40 PM   #7 (permalink)
 
Banned

Join Date: Sep 2005

Posts: 5,191

The General

Default

If the repository has broken packages, there's nothing you can do about it. You might want to upgrade to edgy elf or whatever, to do that just change all instances of "dapper" in your sources.list to "edgy" without quotes obviously. Then save it and apt-get update, then apt-get dist-upgrade.
The General is offline  
Old 12-25-2006, 08:15 PM   #8 (permalink)
Greg's Avatar
 
Indeed.

Join Date: Dec 2004

Posts: 1,554

Greg is on a distinguished road

Default

Go into Synaptic, completely remove the broken package, and try again.

Quote:
Depends: libnetfilter-queue1 (>= 0.0.12) but it is not installable
Depends: libnfnetlink1 (>= 0.0.16) but it is not installable
Depends: libnetfilter-queue1 but it is not installable
You might have to find the above packages elsewhere.
__________________
Greg is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On