update manager

Asked by K.Hoon

I installed ubuntu 7.04 on VMware 5.5.3 in my company pc.
the environments
 proxy, firewall, security, etc... becoz in Company.

VMware, network configuration...
briged <-- not worked, so I used NAT.

I overcamed several problems, and i can use intnernet, firefox, windows network, ...

but!!, I can't let update manger work.

system -> manage -> update manger

I chose check button, and "Downloading package information" window...
at this point, all the packages are failed to download.

Please help me...

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
K.Hoon
Solved:
Last query:
Last reply:
Revision history for this message
Ralph Janke (txwikinger) said :
#1

Thanks for your question

If you use a proxy to reach the Internet, you need to configure this in the apt configuration:

Put the line

Acquire::http::Proxy "http://<proxy ip>:<proxy port>/";

into the file

/etc/apt/apt.conf

I hope this helps.

Revision history for this message
K.Hoon (khsharpy) said :
#2

Thanks..

I made the /etc/apt/apt.conf. (there wasn't)
But there be no change.

One hint I missed is
I set it as "Automatic proxy Configuration URL:"
  http://IP:PORT/xxx.pac

Firefox to be worked, I set above, Edit -> Preference -> Advanced -> Network
           -> Connection Setting -> "Automatic proxy configuration URL"

I think u can help me...

Revision history for this message
Ralph Janke (txwikinger) said :
#3

I am not sure if a pac will work with apt. Can't you put in a proper ip and port? Also do you need to authenticate with the proxy ?

Revision history for this message
K.Hoon (khsharpy) said :
#4

I'm afraid that the information (.pac file) is not allowed to be open...
Anyway, I see the file, and I can find a proxy address.

: default return address :

I don't know much about proxy, but I can't do firefox without setting that "Automatic proxy Configuration URL".

I set the found address in the apt.conf, but no change again...

Other problem exist?? hm...

Revision history for this message
Antonio Pérez-Aranda Alcaide (ant30) said :
#5

Could you paste your file /etc/apt/sources.list ?

And your route table. You can get your route table with netstat -nr command.

Have you check your DNS and check ping to repositories?

Revision history for this message
K.Hoon (khsharpy) said :
#6

/etc/apt/sources.list
==>
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://kr.archive.ubuntu.com/ubuntu/ feisty main restricted
deb-src http://kr.archive.ubuntu.com/ubuntu/ feisty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://kr.archive.ubuntu.com/ubuntu/ feisty-updates main restricted
deb-src http://kr.archive.ubuntu.com/ubuntu/ feisty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://kr.archive.ubuntu.com/ubuntu/ feisty universe
deb-src http://kr.archive.ubuntu.com/ubuntu/ feisty universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://kr.archive.ubuntu.com/ubuntu/ feisty multiverse
deb-src http://kr.archive.ubuntu.com/ubuntu/ feisty multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://kr.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
# deb-src http://kr.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu feisty-security main restricted
deb-src http://security.ubuntu.com/ubuntu feisty-security main restricted
deb http://security.ubuntu.com/ubuntu feisty-security universe
deb-src http://security.ubuntu.com/ubuntu feisty-security universe
deb http://security.ubuntu.com/ubuntu feisty-security multiverse
deb http://archive.ubuntu.com/ubuntu/ feisty-updates restricted main multiverse universe
deb-src http://security.ubuntu.com/ubuntu feisty-security multiverse
<=====

route table
==>
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.184.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 192.168.184.2 0.0.0.0 UG 0 0 0 eth0
<====

No problem to open the repositories URL in the FireFox...
DNS is set as same as the default GW.

Revision history for this message
K.Hoon (khsharpy) said :
#7

Today, there are "You can install 22 updates" in Update manager.
It is the first time, to list update entries...

But, when I press "Install updates", same as yesterday, no updates occurred.

Revision history for this message
K.Hoon (khsharpy) said :
#8

I can download *.deb files from the site.

I copied and pasted the failed URLs into a file using vi.
Right-cliking a URL of them, I chose "Open link", then downloaded and install.

some of them are failed to install becoz of dependencies, they tried to get pre-necessary files, but also failed like update manager does.

why apt- commands don't work...? I'm sad... :(

T.T

Revision history for this message
Ralph Janke (txwikinger) said :
#9

what happens when you do

sudo apt-get dist-upgrade

in a commandline terminal?

Revision history for this message
K.Hoon (khsharpy) said :
#10

Now other problems added...

becoz of some dependencies, something went wrong...

When I try update manager, a popup saying

"Software index is broken

It is impossible to install or remove any software. Please use the package manager "Synaptic" or run "sudo apt-get install -f" in a terminal to fix this issue at first."

I can't fix this situation.
Both Synaptic and "sudo apt-get install -f" try to download somethings, but failed again...
packages about "gnome-panel"

Also "sudo apt-get dist-upgrade" failed becoz of the wrong dependency of "gnome-panel"

I'm falling deeper and deeper... T.T
Help me~~~

Revision history for this message
Antonio Pérez-Aranda Alcaide (ant30) said :
#11

Well, then you have a break package.
You could paste the result of follow commands on http://pastebin.com/ and return the link of it.
Check this to paste:

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install -f

Revision history for this message
K.Hoon (khsharpy) said :
#12

I manually solved the problem about the dependencies....
I don't remember exactly what I did to solve it.
using dpkg command, and downloading and installing packages manually...
...

sharpy@rainbow:~$ sudo apt-get update
Err http://kr.archive.ubuntu.com feisty Release.gpg
  Could not connect to kr.archive.ubuntu.com:80 (143.248.234.110), connection timed out
Err http://archive.ubuntu.com feisty-updates Release.gpg
  Could not connect to archive.ubuntu.com:80 (91.189.89.8), connection timed out [IP: 91.189.89.8 80]
Err http://security.ubuntu.com feisty-security Release.gpg
  Could not connect to security.ubuntu.com:80 (91.189.89.6), connection timed out [IP: 91.189.89.6 80]
Err http://kr.archive.ubuntu.com feisty-updates Release.gpg
  Could not connect to kr.archive.ubuntu.com:80 (143.248.234.110), connection timed out
Failed to fetch http://kr.archive.ubuntu.com/ubuntu/dists/feisty/Release.gpg Could not connect to kr.archive.ubuntu.com:80 (143.248.234.110), connection timed out
Failed to fetch http://kr.archive.ubuntu.com/ubuntu/dists/feisty-updates/Release.gpg Could not connect to kr.archive.ubuntu.com:80 (143.248.234.110), connection timed out
Failed to fetch http://security.ubuntu.com/ubuntu/dists/feisty-security/Release.gpg Could not connect to security.ubuntu.com:80 (91.189.89.6), connection timed out [IP: 91.189.89.6 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty-updates/Release.gpg Could not connect to archive.ubuntu.com:80 (91.189.89.8), connection timed out [IP: 91.189.89.8 80]
Reading package lists... Done
W: Some index files failed to download, they have been ignored, or old ones used instead.

sharpy@rainbow:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

sharpy@rainbow:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I pasted it above into http://patebin.com

the result
--->
Query failure: Can't open file: 'recent.MYI'. (errno: 145)
lock tables recent write
<---

Is this right?? Did I understand wrong?

Revision history for this message
Best K.Hoon (khsharpy) said :
#13

Maybe I solved the problem.

I changed the configuration of network proxy.

I had configured the network proxy selecting 'automatic proxy configuration' as "http://IP:PORT/xxx.pac".
Once I changed the configuration selecting 'manual proxy configuration' as the value extracted from the xxx.pac file.

Now, the update manager works. T.T oh~~~

I don't know what the problem was, and why it works now.
but it works now..