LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-25-2013, 07:51 AM   #1
BlindSquare
LQ Newbie
 
Registered: Aug 2013
Posts: 3

Rep: Reputation: Disabled
debian update error


I got myself into some problem. There was a package from Ubuntu and tried to force installation on debian. It didnt install and now I cant install anything because I cant remove it anymore. I am pasting my messages below.

Code:
root@sb01:/etc/geonode# apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  geonode
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
6 not fully installed or removed.
After this operation, 211 MB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 142706 files and directories currently installed.)
Removing geonode ...
ERROR: Site geonode does not exist!
dpkg: error processing geonode (--remove):
 subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
 geonode
E: Sub-process /usr/bin/dpkg returned an error code (1)

I tried this:

Code:
root@sb01:/etc/geonode# sudo dpkg --force-all -P geonode
(Reading database ... 142706 files and directories currently installed.)
Removing geonode ...
ERROR: Site geonode does not exist!
dpkg: error processing geonode (--purge):
 subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
 geonode
and:
Code:
root@sb01:/etc/geonode# sudo dpkg --remove --force-remove-reinstreq geonode
(Reading database ... 142706 files and directories currently installed.)
Removing geonode ...
ERROR: Site geonode does not exist!
dpkg: error processing geonode (--remove):
 subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
 geonode
I deleted /etc/apt/source.list.d (which has geonode address, but I had same errors before when this life was there) file geonode address by the way.


Kindly feel free to ask more details.

cheers
 
Old 08-25-2013, 08:03 AM   #2
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: OpenBSD
Posts: 1,644
Blog Entries: 8

Rep: Reputation: 577Reputation: 577Reputation: 577Reputation: 577Reputation: 577Reputation: 577
For starters, you could post your sources.list so we can see if it is alright. If it has any Ubuntu repositories, remove them.
 
Old 08-25-2013, 08:09 AM   #3
BlindSquare
LQ Newbie
 
Registered: Aug 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
No. No Ubuntu reposities.

Code:
#

# deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD Binary-1 20130615-23:06]/ wheezy contrib main


deb http://ftp.nl.debian.org/debian/ wheezy main
deb-src http://ftp.nl.debian.org/debian/ wheezy main

deb http://security.debian.org/ wheezy/updates main contrib
deb-src http://security.debian.org/ wheezy/updates main contrib

# wheezy-updates, previously known as 'volatile'
deb http://ftp.nl.debian.org/debian/ wheezy-updates main contrib
deb-src http://ftp.nl.debian.org/debian/ wheezy-updates main contrib
 
Old 08-25-2013, 08:37 AM   #4
BlindSquare
LQ Newbie
 
Registered: Aug 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Update:

I tried to debug. File /var/lib/dpkg/info/geonode.postrm has error is at 'a2dissite geonode'.

I disabled it. Then disabled purge also. And did force remove. Worked!!\


Thanks a lot.

Last edited by BlindSquare; 08-25-2013 at 09:02 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] apt-get update error from mozilla.debian.net someshpr Debian 3 07-18-2011 07:18 AM
[SOLVED] Debian update manager states updates available but won't update EDDY1 Debian 15 07-01-2011 12:07 AM
Debian Update Error, Please Help Brian1420 Linux - Newbie 2 06-04-2009 12:37 PM
apt-get update error (Debian 4.0) RHTopics Debian 3 11-08-2007 02:49 PM


All times are GMT -5. The time now is 04:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration