In 18.10, When I try to install some packges it shows Some files can not be fetched
and for solving this when I try to install synaptic with terminal sudo apt-get install synaptic
it returns
avro : Depends: libibus-1.0-dev but it is not going to be installed
Depends: ibus-clutter but it is not going to be installed
Depends: ibus-qt4 but it is not going to be installed
synaptic : Depends: libept1.5.0 but it is not going to be installed
Recommends: libgtk2-perl (>= 1:1.130) but it is not going to be installed
Recommends: rarian-compat but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
These all. Trying sudo apt --fix-broken install
ends up with:
Some files can't be fetched
How this problem can be solved?
The output of sudo apt-get upgrade
:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
avro : Depends: libibus-1.0-dev but it is not installed
Depends: ibus-clutter but it is not installed
Depends: ibus-qt4 but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
The output of sudo apt update
:
Err:1 http://security.ubuntu.com/ubuntu cosmic-security InRelease
Temporary failure resolving 'security.ubuntu.com'
Err:2 http://us.archive.ubuntu.com/ubuntu cosmic InRelease
Temporary failure resolving 'us.archive.ubuntu.com'
Get:3 http://us.archive.ubuntu.com/ubuntu cosmic-updates InRelease [83.2 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu cosmic-backports InRelease [74.6 kB]
Fetched 158 kB in 18s (8,857 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
169 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/cosmic/InRelease Temporary failure resolving 'us.archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/cosmic-security/InRelease Temporary failure resolving 'security.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
it's a problem with broken packages fact.