LinuxQuestions.org
Visit Jeremy's Blog.
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, 06: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, 07:03 AM   #2
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
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, 07: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, 07: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 08: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 06:18 AM
[SOLVED] Debian update manager states updates available but won't update EDDY1 Debian 15 06-30-2011 11:07 PM
Debian Update Error, Please Help Brian1420 Linux - Newbie 2 06-04-2009 11:37 AM
apt-get update error (Debian 4.0) RHTopics Debian 3 11-08-2007 01:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:20 AM.

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
Open Source Consulting | Domain Registration