Results 1 to 9 of 9
Whenever i am trying to install any package with
Code:
apt-get install <package_name>
I am getting the bellow error.
HTML Code:
E: dpkg was interrupted, you must manually run 'dpkg ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-03-2012 #1Just Joined!
- Join Date
- Mar 2009
- Location
- india
- Posts
- 56
problem installing new package with apt-get
Whenever i am trying to install any package with
I am getting the bellow error.Code:apt-get install <package_name>
after pursing dpkg --configure -a the problem is unsolved.HTML Code:E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
I have triedand the same is showing.Code:apt-get update
need help.
- 11-03-2012 #2
Post sources.list I guess to elaborate more.
Code:cat /etc/sources.list
Sometimes for me. I have to do during a testing dist-upgrade to fix apt issues.
To get rid of dpkg errors.Code:apt-get -f install
Linux Registered User # 475019
Lead,Follow, or get the heck out of the way
I'd rather be a dangerous, wild Penguin than a docile, domesticated sheep.
Free Linux Books
Free R Books
- 11-04-2012 #3
Have you tried to clean cache?
Code:sudo apt-get clean all sudo dpkg --configure -a sudo apt-get update
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 11-07-2012 #4Just Joined!
- Join Date
- Mar 2009
- Location
- india
- Posts
- 56
I have tried all above commands but the result is same(showing the same dpkg error)
below is the sourcelist
Code:root@v:~# vi /etc/apt/sources.list #deb file:///cdrom/ sarge main deb Index of /debian/ stable main contrib deb Index of /debian/ unstable main contrib non-free deb Index of /debian/ testing main contrib deb-src Index of /debian/ stable main contrib deb-src Index of /debian/ unstable main contrib deb-src Index of /debian/ testing main contrib deb Index of /debian-backports squeeze-backports main #deb Index of /debian testing main contrib non-free #deb-src Index of /debian testing main contrib non-free #deb Index of /debian unstable main contrib non-free #deb-src Index of /debian unstable main contrib non-free deb Debian -- Security Information stable/updates main contrib non-free deb Debian -- Security Information testing/updates main contrib non-free #deb http://mirror.peer1.net/debian-non-US/ stable/non-US main contrib non-free #deb-src http://mirror.peer1.net/debian-non-US/ stable/non-US main contrib non-free
- 11-07-2012 #5
Although I've not run Debian, I'm thinking that you may need to uncomment the non-free repos, depending on what package you are trying to install.
Do you get the above error even when performing an apt-get update?Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.
- 11-07-2012 #6Just Joined!
- Join Date
- Mar 2009
- Location
- india
- Posts
- 56
yes
is also showing the same error.Code:apt-get update
- 11-07-2012 #7Just Joined!
- Join Date
- Mar 2009
- Location
- india
- Posts
- 56
now this problem has gone.a new one comes in.whenever i am going to install any package an error message related to python is showing
Code:root@voxlinenetworks:~# apt-get install samba Reading package lists... Done Building dependency tree Reading state information... Done samba is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? y Setting up python-setuptools (0.6.14-4) ... Package `python-setuptools' is not installed. Use dpkg --info (= dpkg-deb --info) to examine archive files, and dpkg --contents (= dpkg-deb --contents) to list their contents. E: pycompile:79: cannot get content of python-setuptools dpkg: error processing python-setuptools (--configure): subprocess installed post-installation script returned error exit status 2 configured to not write apport reports Errors were encountered while processing: python-setuptools E: Sub-process /usr/bin/dpkg returned an error code (1)
- 11-07-2012 #8In my view. You need to settle with stable and comment out testing and unstable repos. Running a mix of repos like that withCode:
deb-src Index of /debian/ stable main contrib deb-src Index of /debian/ unstable main contrib deb-src Index of /debian/ testing main contrib
Is just asking for trouble. No wonder you are having troubles. My sources.list is clean and simple.Code:deb Index of /debian-backports squeeze-backports main
So either go with Stable,Testing,or Unstable. Mixing them up like that you are inducing troubles yourself. I am surprised you even have a working system and no one has caught this yet.Code:$ inxi -r Active apt sources in file: /etc/apt/sources.list.d/debian.list deb http://ftp.gr.debian.org/debian/ testing main contrib non-free deb http://security.debian.org/ testing/updates main contrib non-free
Code:#deb file:///cdrom/ sarge main
Linux Registered User # 475019
Lead,Follow, or get the heck out of the way
I'd rather be a dangerous, wild Penguin than a docile, domesticated sheep.
Free Linux Books
Free R Books
- 11-19-2012 #9


Reply With Quote

