LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 05-17-2010, 01:54 AM   #1
cusri2004
LQ Newbie
 
Registered: Aug 2009
Location: Wellington
Distribution: Ubuntu Lucid Lynx
Posts: 27

Rep: Reputation: 15
Accidentaly removed Python on my Ubuntu


Hi,

First of all I don't know whether this post is posted in the right category. So, excuse me if its not.

I kind of screwed up my laptop today. Accidentally removed python!! During this process I realized thats its removing packages like evince, gstream etc...so I used force quit but the damage was done already.

Rebooting the computer initially complained that it is running on low graphics and tried various combinations which were listed but didn't work. Later on while I tried to boot it several times, it never reached the login screen.

I tried to reboot my computer in recovery mode. Tried to update the system from there. For example

sudo apt-get update

it spits these lines

Err http://archive.canonical.com lucid Release.gpg
Could not resolve 'archive.canonical.com'

Err http://nz.archive.canonical.com lucid Release.gpg
Could not resolve 'nz.archive.canonical.com'

Err http://nz.archive.canonical.com lucid-updates Release.gpg
Could not resolve 'nz.archive.canonical.com'

Err http://nz.archive.canonical.com lucid-security Release.gpg
Could not resolve 'nz.archive.canonical.com'

Reading package lists.....Done

W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/...id/Release.gpg Could not resolve 'nz.archive.ubuntu.com'

W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/...es/Release.gpg Could not resolve 'nz.archive.ubuntu.com'

W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/...id/Release.gpg Could not resolve 'nz.archive.ubuntu.com'

W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/...ty/Release.gpg Could not resolve 'nz.archive.ubuntu.com'

W: Somed index files failed to download, they have been ignored, or old ones used instead.

My computer is behind the university proxy. None of the suggestions on google worked to solve this issue.

I am skeptical whether I can fix this without reinstalling.

Any suggestions will be of great help.
 
Old 05-17-2010, 02:07 PM   #2
bret381
Member
 
Registered: Nov 2009
Location: Alabama
Distribution: Arch x86_64
Posts: 650

Rep: Reputation: 79
it looks like the system is only unable to resolve older files from the archives...

python should not be necessary for Lucid to run, so how did you remove it? or what command did you type that you later forced quit?

and as far as I know python has absolutely nothing to do with graphics drivers so you have me curious
 
Old 05-17-2010, 03:57 PM   #3
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Many system-scripts will call upon python.

If you have removed python, they will not work.

The "Cannot resolve ..." Errors are probably due to the failure of a python-dependant script to run.

I suggest backup of personal files and then a re-install, and remember your mistake.
 
Old 05-17-2010, 05:50 PM   #4
10110111
Member
 
Registered: Jun 2008
Location: St.-Petersburg, Russia
Distribution: (B)LFS, Ubuntu, SliTaz
Posts: 403

Rep: Reputation: 51
Try reinstalling python using deb packages from here. Note that you might have to first install its dependencies if they are not already installed.
If installation fails due to incomplete package management system (i.e. you can't install ANY package using deb), then the only easy thing you have to do is what tredegar has suggested.

Last edited by 10110111; 05-17-2010 at 05:54 PM.
 
  


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
removed ubuntu, can't get windows to load now kormath Linux - Newbie 5 05-10-2010 02:35 PM
Why the possibility of installation was removed from ubuntu 10.4? lockesilver Ubuntu 9 05-09-2010 12:30 PM
Ubuntu eth0 still asigned when card was removed sam_vde Linux - Hardware 1 09-21-2006 03:21 PM
I accidentaly deleted my files...Help Please LinuxSeeker Linux - General 4 09-13-2005 03:26 PM
Accidentaly removed top gnome panel :-( khermans Linux - General 3 07-22-2004 04:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 09:45 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