Hi guys! I'm searching long time for solution, so I've decide to post it. When I try to update the sistem with command [apt-get update], i get as resoult this: Code: root@mars:/home/jus# apt-get update Hit:1 http://si.archive.ubuntu.com/ubuntu xenial InRelease Hit:2 http://si.archive.ubuntu.com/ubuntu xenial-updates InRelease Hit:3 http://si.archive.ubuntu.com/ubuntu xenial-backports InRelease Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease Get:5 http://dl.hhvm.com/ubuntu xenial InRelease [2,411 B] Get:6 https://dl.hhvm.com/ubuntu xenial InRelease [2,411 B] Get:7 https://dl.hhvm.com/ubuntu xenial/main amd64 Packages [2,246 B] Ign:8 http://dl.hhvm.com/ubuntu xenial/main amd64 Packages Get:8 http://dl.hhvm.com/ubuntu xenial/main amd64 Packages [6,637 B] Fetched 13.7 kB in 0s (18.7 kB/s) Reading package lists... Done N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://dl.hhvm.com/ubuntu xenial InRelease' doesn't support architecture 'i386' N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://dl.hhvm.com/ubuntu xenial InRelease' doesn't support architecture 'i386' E: Failed to stat /var/lib/apt/lists/partial/dl.hhvm.com_ubuntu_dists_xenial_InRelease - pkgAcqTransactionItem::TransactionState-stat (2: No such file or directory) E: Failed to stat /var/lib/apt/lists/partial/dl.hhvm.com_ubuntu_dists_xenial_main_binary-amd64_Packages - pkgAcqTransactionItem::TransactionState-stat (2: No such file or directory) W: Duplicate sources.list entry https://dl.hhvm.com/ubuntu xenial Release root@mars:/home/jus# What should I do? Thank you in advance! Jus
Have you mixed arkhitectures, i.e. both 32 and 64 bit? What does Code: Dpkg --print-architecture show? What is in sources.list file and in /etc/apt/sources.list.d/ directory?
It is Code: root@mars:/etc/apt/sources.list.d# uname -a Linux mars 4.4.0-134-generic #160-Ubuntu SMP Wed Aug 15 14:58:00 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux root@mars:/etc/apt/sources.list.d#
I asked in #3: And do show the contents of files, not just directory listing. My guess is you have done something to those files, added some repositories perhaps, and you should now remove the repositories that do not work. That hhvm repository may be no longer available or not offering 32-bit versions.