LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-14-2015, 09:47 AM   #1
Upendra Pratap Singh
Member
 
Registered: May 2011
Location: India
Distribution: Ubuntu 14.04
Posts: 110
Blog Entries: 4

Rep: Reputation: 0
Exclamation updating ubuntu problem


hi friends,

few days back i installed ubuntu 12.10 on my machine and then i found that i was not able to update my operating system nor was i able to download any package from the software center.

Basically, i use a proxy settings to get connected to the internet. In my previous version, i used to update /etc/apt/apt.conf file with proxy credentials to get the system updated or to download any repository.

But in this version, i cannot see /etc/apt/apt.conf file where i can fill in the proxy credential details.



in the /etc/apt/apt.conf file i used to enter the following data that allowed me to update, upgrade


Acquire::http:roxy "http://mtan_201412:xxxx@192.168.1.103:3128/";
Acquire::https:roxy "https://mtan_201412:xxxxxx@192.168.1.103:3128/";
Acquire::ftp:roxy "ftp://mtan_201412:xxxxx@192.168.1.103:3128/";
Acquire::socks:roxy "socks://mtan_201412:xxxxxxx@192.168.1.103:3128/"


where mtan201412 used to be my username to access internet through proxy and 192.168.1.103 used to be address of the proxy server i was using and xxx used to be the password for logging


what am i supposed to do next in order to update or upgrade my system?

Last edited by Upendra Pratap Singh; 02-14-2015 at 09:52 AM. Reason: providing extra information
 
Old 02-14-2015, 11:22 AM   #2
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,158

Rep: Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318
Ubuntu 12.10 is obsolete: support ended in 2013. The current versions are 14, and it is not recommended to jump a version. It will be safer and easier to start again with version 14.
https://help.ubuntu.com/community/UpgradeNotes

You need to get a long-term-support version. They have 5 years support, while the ordinary ones are only supported for 9 months. The current LTS is version 14.04 (not 14.10), Trusty.
 
Old 02-15-2015, 01:05 PM   #3
Upendra Pratap Singh
Member
 
Registered: May 2011
Location: India
Distribution: Ubuntu 14.04
Posts: 110

Original Poster
Blog Entries: 4

Rep: Reputation: 0
Even in Ubuntu 14.04 I am not getting apt.conf file in /etc/apt/ to enter the proxy setting. Do I need to create this file myself or is there any other file in 14.04 where I am supposed to enter the settings?
 
Old 02-15-2015, 01:11 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,948

Rep: Reputation: 8018Reputation: 8018Reputation: 8018Reputation: 8018Reputation: 8018Reputation: 8018Reputation: 8018Reputation: 8018Reputation: 8018Reputation: 8018Reputation: 8018
Quote:
Originally Posted by Upendra Pratap Singh View Post
Even in Ubuntu 14.04 I am not getting apt.conf file in /etc/apt/ to enter the proxy setting. Do I need to create this file myself or is there any other file in 14.04 where I am supposed to enter the settings?
Did you try to look at any of the Ubuntu documentation, or how to do this?
http://nknu.net/ubuntu-14-04-proxy-a...cation-config/
 
1 members found this post helpful.
  


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
problem in updating ubuntu 11.04 summit Linux - Newbie 8 07-29-2012 04:10 PM
Problem updating Ubuntu 11.10 jasonhrmeier Linux - Laptop and Netbook 1 04-16-2012 10:07 AM
startup problem after updating ubuntu 10.04 ntu929 Linux - Newbie 11 09-13-2011 01:00 AM
Problem after updating to Ubuntu 9.10 from 9.04 rmcellig Linux - Software 1 04-01-2010 05:39 AM
Ubuntu and Xubuntu 8.10 updating problem oudent Ubuntu 2 11-06-2008 11:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:35 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
Open Source Consulting | Domain Registration