update and upgrade problem

Asked by Ozkan

-va-drivers_19.0.2-1ubuntu1.1_amd64.deb Unable to connect to ro.archive.ubuntu.com:http:
E: Failed to fetch http://ro.archive.ubuntu.com/ubuntu/pool/main/m/mesa/mesa-vdpau-drivers_19.0.2-1ubuntu1.1_amd64.deb Unable to connect to ro.archive.ubuntu.com:http:
E: Failed to fetch http://ro.archive.ubuntu.com/ubuntu/pool/main/m/mesa/mesa-vulkan-drivers_19.0.2-1ubuntu1.1_amd64.deb Unable to connect to ro.archive.ubuntu.com:http:
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
(base) ozkan@ozkan-SATELLITE-P50-C:~$ update manager

Command 'update' not found, did you mean:

  command 'uupdate' from deb devscripts (2.19.4)
  command 'lupdate' from deb qtchooser (66-1)
  command 'zupdate' from deb zutils (1.8-3)
  command 'xupdate' from deb libxml-xupdate-libxml-perl (0.6.0-3)
  command 'pupdate' from deb pbuilder-scripts (22)

Try: sudo apt install <deb name>

(base) ozkan@ozkan-SATELLITE-P50-C:~$ clear

(base) ozkan@ozkan-SATELLITE-P50-C:~$ ubuntu-support-status
Support status summary of 'ozkan-SATELLITE-P50-C':

You have 1893 packages (93.8%) supported until January 2020 (Canonical - 9m)

You have 2 packages (0.1%) that can not/no-longer be downloaded
You have 124 packages (6.1%) that are unsupported

Run with --show-unsupported, --show-supported or --show-all to see more details
(base) ozkan@ozkan-SATELLITE-P50-C:~$ cat /etc/dpkg/dpkg.cfg.d/multiarch
cat: /etc/dpkg/dpkg.cfg.d/multiarch: No such file or directory
(base) ozkan@ozkan-SATELLITE-P50-C:~$ dpkg --print-foreign-architectures
i386
(base) ozkan@ozkan-SATELLITE-P50-C:~$ sudo grep -R roxy /etc/apt/*
[sudo] password for ozkan:
(base) ozkan@ozkan-SATELLITE-P50-C:~$ grep roxy /etc/environment
(base) ozkan@ozkan-SATELLITE-P50-C:~$ echo $http_proxy

(base) ozkan@ozkan-SATELLITE-P50-C:~$ echo $ftp_proxy

(base) ozkan@ozkan-SATELLITE-P50-C:~$ grep roxy /etc/bash.bashrc
(base) ozkan@ozkan-SATELLITE-P50-C:~$ grep roxy ~/.bashrc
(base) ozkan@ozkan-SATELLITE-P50-C:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
(base) ozkan@ozkan-SATELLITE-P50-C:~$ sudo fuser -vvv /var/lib/dpkg/lock
(base) ozkan@ozkan-SATELLITE-P50-C:~$ sudo fuser -vvv /var/cache/apt/archives/lock
(base) ozkan@ozkan-SATELLITE-P50-C:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=19.04
DISTRIB_CODENAME=disco
DISTRIB_DESCRIPTION="Ubuntu 19.04"
(base) ozkan@ozkan-SATELLITE-P50-C:~$ uname -a
Linux ozkan-SATELLITE-P50-C 5.0.0-20-generic #21-Ubuntu SMP Mon Jun 24 09:32:09 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
(base) ozkan@ozkan-SATELLITE-P50-C:~$ sudo rm /var/lib/apt/lists/lock
(base) ozkan@ozkan-SATELLITE-P50-C:~$ sudo rm /var/cache/apt/archives/lock
(base) ozkan@ozkan-SATELLITE-P50-C:~$ sudo rm /var/lib/dpkg/lock
(base) ozkan@ozkan-SATELLITE-P50-C:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
(base) ozkan@ozkan-SATELLITE-P50-C:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
(base) ozkan@ozkan-SATELLITE-P50-C:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/dpkg.status.0 /var/lib/dpkg/status
(base) ozkan@ozkan-SATELLITE-P50-C:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
(base) ozkan@ozkan-SATELLITE-P50-C:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
cp: cannot stat '/var/lib/dpkg/available-old': No such file or directory
(base) ozkan@ozkan-SATELLITE-P50-C:~$ sudo rm -rf /var/lib/dpkg/updates/*
(base) ozkan@ozkan-SATELLITE-P50-C:~$ sudo rm -rf /var/lib/apt/lists
(base) ozkan@ozkan-SATELLITE-P50-C:~$ sudo rm /var/cache/apt/*.bin
(base) ozkan@ozkan-SATELLITE-P50-C:~$ sudo mkdir /var/lib/apt/lists
(base) ozkan@ozkan-SATELLITE-P50-C:~$ sudo mkdir /var/lib/apt/lists/partial
(base) ozkan@ozkan-SATELLITE-P50-C:~$ LANG=C;sudo apt-get clean
(base) ozkan@ozkan-SATELLITE-P50-C:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
(base) ozkan@ozkan-SATELLITE-P50-C:~$ sudo dpkg --configure -a
Setting up thunderbird (1:60.7.2+build2-0ubuntu0.19.04.1) ...
Setting up thunderbird-locale-en (1:60.7.2+build2-0ubuntu0.19.04.1) ...
Setting up thunderbird-gnome-support (1:60.7.2+build2-0ubuntu0.19.04.1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for gnome-menus (3.32.0-1ubuntu1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for desktop-file-utils (0.23-4ubuntu1) ...
(base) ozkan@ozkan-SATELLITE-P50-C:~$ sudo dpkg --clear-avail
(base) ozkan@ozkan-SATELLITE-P50-C:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
(base) ozkan@ozkan-SATELLITE-P50-C:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
(base) ozkan@ozkan-SATELLITE-P50-C:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
(base) ozkan@ozkan-SATELLITE-P50-C:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
Err:1 http://ro.archive.ubuntu.com/ubuntu disco InRelease
  Could not connect to ro.archive.ubuntu.com:80 (78.96.7.8), connection timed out
Err:2 http://ro.archive.ubuntu.com/ubuntu disco-updates InRelease
  Unable to connect to ro.archive.ubuntu.com:http:
Err:3 http://ro.archive.ubuntu.com/ubuntu disco-backports InRelease
  Unable to connect to ro.archive.ubuntu.com:http:
Err:4 http://security.ubuntu.com/ubuntu disco-security InRelease
  Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1560:8001::11). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1360:8001::17). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1560:8001::14). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::19). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1360:8001::21). - connect (101: Network is unreachable) Could not connect to security.ubuntu.com:80 (91.189.88.24), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.26), connection timed out Could not connect to security.ubuntu.com:80 (91.189.88.149), connection timed out Could not connect to security.ubuntu.com:80 (91.189.88.162), connection timed out Could not connect to security.ubuntu.com:80 (91.189.88.31), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.23), connection timed out
Reading package lists... Done
W: Failed to fetch http://ro.archive.ubuntu.com/ubuntu/dists/disco/InRelease Could not connect to ro.archive.ubuntu.com:80 (78.96.7.8), connection timed out
W: Failed to fetch http://ro.archive.ubuntu.com/ubuntu/dists/disco-updates/InRelease Unable to connect to ro.archive.ubuntu.com:http:
W: Failed to fetch http://ro.archive.ubuntu.com/ubuntu/dists/disco-backports/InRelease Unable to connect to ro.archive.ubuntu.com:http:
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/disco-security/InRelease Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1560:8001::11). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1360:8001::17). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1560:8001::14). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::19). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1360:8001::21). - connect (101: Network is unreachable) Could not connect to security.ubuntu.com:80 (91.189.88.24), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.26), connection timed out Could not connect to security.ubuntu.com:80 (91.189.88.149), connection timed out Could not connect to security.ubuntu.com:80 (91.189.88.162), connection timed out Could not connect to security.ubuntu.com:80 (91.189.88.31), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.23), connection timed out
W: Some index files failed to download. They have been ignored, or old ones used instead.
(base) ozkan@ozkan-SATELLITE-P50-C:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list.d/linuxuprising-ubuntu-java-disco.list

     1 # deb http://ppa.launchpad.net/linuxuprising/java/ubuntu disco main
     2 # deb-src http://ppa.launchpad.net/linuxuprising/java/ubuntu disco main

/etc/apt/sources.list.d/webupd8team-ubuntu-java-disco.list

     1 # deb http://ppa.launchpad.net/webupd8team/java/ubuntu disco main
     2 # deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu disco main
     3 # deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu disco main
     4 # deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu disco main

/etc/apt/sources.list

     1 # deb cdrom:[Ubuntu 19.04 _Disco Dingo_ - Release amd64 (20190416)]/ disco main restricted
     2
     3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4 # newer versions of the distribution.
     5 deb http://ro.archive.ubuntu.com/ubuntu/ disco main restricted
     6 # deb-src http://ro.archive.ubuntu.com/ubuntu/ disco main restricted
     7
     8 ## Major bug fix updates produced after the final release of the
     9 ## distribution.
    10 deb http://ro.archive.ubuntu.com/ubuntu/ disco-updates main restricted
    11 # deb-src http://ro.archive.ubuntu.com/ubuntu/ disco-updates main restricted
    12
    13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    14 ## team. Also, please note that software in universe WILL NOT receive any
    15 ## review or updates from the Ubuntu security team.
    16 deb http://ro.archive.ubuntu.com/ubuntu/ disco universe
    17 # deb-src http://ro.archive.ubuntu.com/ubuntu/ disco universe
    18 deb http://ro.archive.ubuntu.com/ubuntu/ disco-updates universe
    19 # deb-src http://ro.archive.ubuntu.com/ubuntu/ disco-updates universe
    20
    21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    22 ## team, and may not be under a free licence. Please satisfy yourself as to
    23 ## your rights to use the software. Also, please note that software in
    24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    25 ## security team.
    26 deb http://ro.archive.ubuntu.com/ubuntu/ disco multiverse
    27 # deb-src http://ro.archive.ubuntu.com/ubuntu/ disco multiverse
    28 deb http://ro.archive.ubuntu.com/ubuntu/ disco-updates multiverse
    29 # deb-src http://ro.archive.ubuntu.com/ubuntu/ disco-updates multiverse
    30
    31 ## N.B. software from this repository may not have been tested as
    32 ## extensively as that contained in the main release, although it includes
    33 ## newer versions of some applications which may provide useful features.
    34 ## Also, please note that software in backports WILL NOT receive any review
    35 ## or updates from the Ubuntu security team.
    36 deb http://ro.archive.ubuntu.com/ubuntu/ disco-backports main restricted universe multiverse
    37 # deb-src http://ro.archive.ubuntu.com/ubuntu/ disco-backports main restricted universe multiverse
    38
    39 ## Uncomment the following two lines to add software from Canonical's
    40 ## 'partner' repository.
    41 ## This software is not part of Ubuntu, but is offered by Canonical and the
    42 ## respective vendors as a service to Ubuntu users.
    43 # deb http://archive.canonical.com/ubuntu disco partner
    44 # deb-src http://archive.canonical.com/ubuntu disco partner
    45
    46 deb http://security.ubuntu.com/ubuntu disco-security main restricted
    47 # deb-src http://security.ubuntu.com/ubuntu disco-security main restricted
    48 deb http://security.ubuntu.com/ubuntu disco-security universe
    49 # deb-src http://security.ubuntu.com/ubuntu disco-security universe
    50 deb http://security.ubuntu.com/ubuntu disco-security multiverse
    51 # deb-src http://security.ubuntu.com/ubuntu disco-security multiverse
    52
    53 # This system was installed using small removable media
    54 # (e.g. netinst, live or single CD). The matching "deb cdrom"
    55 # entries were disabled at the end of the installation process.
    56 # For information about how to configure apt package sources,
    57 # see the sources.list(5) manual.
(base) ozkan@ozkan-SATELLITE-P50-C:~$ sudo dpkg --audit
(base) ozkan@ozkan-SATELLITE-P50-C:~$

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

"Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1560:8001::11). - connect (101: Network is unreachable)"

This looks like a (maybe temporary) network problem on your end.

If you try the command "sudo apt update" again, does it still show the same error messages?

Revision history for this message
Launchpad Janitor (janitor) said :
#2

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.