LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-07-2014, 01:33 AM   #16
Quinco
LQ Newbie
 
Registered: May 2013
Location: Australia
Distribution: Ubuntu
Posts: 23

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by Quinco View Post
Not a new install and the package manager did work, don't know what has caused this problem..
Just remembered looking into caching updates so my other PC could access the updates from this LapTop rather than getting them from the internet again. Can't remember exactly what I altered in this LapTop though.. I actually thought I removed / undid all I had tried. BTW, the caching never saw the light of day.. Maybe this will give you a clue where to look?
 
Old 04-07-2014, 01:41 AM   #17
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,
Quote:
Originally Posted by Quinco View Post
Just remembered looking into caching updates so my other PC could access the updates from this LapTop rather than getting them from the internet again. Can't remember exactly what I altered in this LapTop though.. I actually thought I removed / undid all I had tried. BTW, the caching never saw the light of day.. Maybe this will give you a clue where to look?
Ohh, now we're getting somewhere. This type of setup can be achieved using a proxy. I think you need to try to dig back through what you did. Did you follow some tutorial somewhere? Perhaps you installed some package. Try checking your /var/log/aptitude and/or /var/log/apt/history* etc.

Cheers,

Evo2.
 
Old 04-07-2014, 01:50 AM   #18
Quinco
LQ Newbie
 
Registered: May 2013
Location: Australia
Distribution: Ubuntu
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
Hi,

Ohh, now we're getting somewhere. This type of setup can be achieved using a proxy. I think you need to try to dig back through what you did. Did you follow some tutorial somewhere? Perhaps you installed some package. Try checking your /var/log/aptitude and/or /var/log/apt/history* etc.

Cheers,

Evo2.
This is from one history file..

Start-Date: 2013-12-24 13:55:06
Commandline: apt-get install apt-cacher-ng
Install: apt-cacher-ng:i386 (0.7.18-1)
End-Date: 2013-12-24 13:55:17

Start-Date: 2013-12-24 14:04:02
Commandline: apt-get install inetutils-inetd
Install: inetutils-inetd:i386 (1.9.1.306-0a482-1)
End-Date: 2013-12-24 14:04:06

Start-Date: 2013-12-30 12:51:12
Commandline: aptdaemon role='role-remove-packages' sender=':1.66'
Remove: wifi-radar:i386 (2.0.s08+dfsg-1.1ubuntu1)
End-Date: 2013-12-30 12:51:37
 
Old 04-07-2014, 01:54 AM   #19
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

it is almost certainly related to the installation of apt-cacher-ng. In my first post I asked if there was a proxy set in /etc/apt/apt.conf, can you please double check that there is not?

Evo2.

PS. I see now that I made a mistake in my first post, it should have been /etc/apt/apt.conf not /etc/apt.conf

Last edited by evo2; 04-07-2014 at 01:56 AM. Reason: PS.
 
Old 04-07-2014, 01:59 AM   #20
Quinco
LQ Newbie
 
Registered: May 2013
Location: Australia
Distribution: Ubuntu
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
Hi,

it is almost certainly related to the installation of apt-cacher-ng. In my first post I asked if there was a proxy set in /etc/apt/apt.conf, can you please double check that there is not?

Evo2.

PS. I see now that I made a mistake in my first post, it should have been /etc/apt/apt.conf not /etc/apt.conf
This line is in a file under /etc/apt/apt.conf/01proxy

Acquire::http::Proxy "http://hostname:3142";

Hope this is the problem..
 
Old 04-07-2014, 02:07 AM   #21
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,
Quote:
Originally Posted by Quinco View Post
This line is in a file under /etc/apt/apt.conf/01proxy

Acquire::http::Proxy "http://hostname:3142";

Hope this is the problem..
Bingo.

Presumably the path is actually
Code:
/etc/apt/apt.conf.d/01proxy
But anyway that's the cause of your problems. Delete that file and your package managers should start working again. Alternatively, purging apt-proxy-ng may delete that file for you.

Eg.
Code:
sudo apt-get purge apt-cacher-ng
Evo2.
 
1 members found this post helpful.
Old 04-07-2014, 02:11 AM   #22
Quinco
LQ Newbie
 
Registered: May 2013
Location: Australia
Distribution: Ubuntu
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
Hi,

Bingo.

Presumably the path is actually
Code:
/etc/apt/apt.conf.d/01proxy
But anyway that's the cause of your problems. Delete that file and your package managers should start working again. Alternatively, purging apt-proxy-ng may delete that file for you.

Eg.
Code:
sudo apt-get purge apt-cacher-ng
Evo2.
Thanks very much, you have solved my problem. All working properly now..
 
Old 04-07-2014, 02:13 AM   #23
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,
Quote:
Originally Posted by Quinco View Post
Thanks very much, you have solved my problem. All working properly now..
Glad to hear it. Did you manually delete the file or did you purge the apt-cacher-ng package?

Cheers,

Evo2.

PS. Please mark the thread as "Solved" using the "Thread Tools" near the top of the page.
 
1 members found this post helpful.
Old 04-07-2014, 02:40 AM   #24
Quinco
LQ Newbie
 
Registered: May 2013
Location: Australia
Distribution: Ubuntu
Posts: 23

Original Poster
Rep: Reputation: Disabled
Thanks again.. Obviously my fault..
 
  


Reply

Tags
updater


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
no display for GUI in my ubuntu 10.10 after installing some updates rpittala Linux - Newbie 1 02-05-2012 09:37 AM
Ping: Unknown Host Not Found on Ubuntu 11 canegames Linux - Networking 9 08-14-2011 05:19 PM
Ubuntu crashed while installing updates Siddhant2010 Linux - Newbie 1 09-29-2010 12:38 PM
Problem with booting up in Ubuntu after installing updates xairoy Linux - Laptop and Netbook 2 01-16-2010 12:32 PM
HP PSC 1210 Xp host ubuntu client Printer Not Found xrandomguyx4 Ubuntu 1 03-07-2009 01:11 PM


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