Jump to content

Need help with apt update not working

Go to solution Solved by PorkishPig,

Lutris for xubuntu 16.04 looks to be deprecated.

 

Try remove all existing PPA entries and download them again with:

sudo rm -rf /var/lib/apt/lists/*
sudo rm -rf /etc/apt/sources.list.d/*
sudo apt-get update

You can download a newer version of Lutris if necessary with:

sudo add-apt-repository ppa:lutris-team/lutris
sudo apt-get update
sudo apt-get install lutris

 

I'm having an issue with the apt update command and this is the output from terminal.

ubuntu@laptop:~$ sudo apt update
Hit:1 http://ca.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]    
Hit:3 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease                
Get:4 http://ca.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]   
Hit:5 http://deb.playonlinux.com trusty InRelease                              
Ign:6 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04  InRelease
Hit:7 http://archive.canonical.com/ubuntu bionic InRelease                     
Err:8 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04  Release
  404  Not Found [IP: 2620:113:80c0:8::13 80]
Get:10 http://ca.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Hit:9 https://packagecloud.io/AtomEditor/atom/any any InRelease
Reading package lists... Done                      
E: The repository 'http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04  Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

 

Link to comment
https://linustechtips.com/topic/1175189-need-help-with-apt-update-not-working/
Share on other sites

Link to post
Share on other sites

Lutris for xubuntu 16.04 looks to be deprecated.

 

Try remove all existing PPA entries and download them again with:

sudo rm -rf /var/lib/apt/lists/*
sudo rm -rf /etc/apt/sources.list.d/*
sudo apt-get update

You can download a newer version of Lutris if necessary with:

sudo add-apt-repository ppa:lutris-team/lutris
sudo apt-get update
sudo apt-get install lutris

 

Make sure to quote me or use @PorkishPig to notify me that you replied!

 

 

Desktop

CPU - Ryzen 9 3900X | Cooler - Noctua NH-D15 | Motherboard - ASUS TUF X570-PLUS RAM - Corsair Vengeance LPX DDR4-3200 32GB Case - Meshify C

GPU - RTX 3080 FE PSU - Straight Power 11 850W Platinum Storage - 980 PRO 1TB, 960 EVO 500GB, S31 1TB, MX500 500GB | OS - Windows 11 Pro

 

Homelab

CPU - Core i5-11400 | Cooler - Noctua NH-U12S | Motherboard - ASRock Z590M-ITX RAM - G.Skill Ripjaws V DDR4-3600 32GB (2x16)  | Case - Node 304

PSU - EVGA B3 650W | Storage - 860 EVO 256GB, Sabrent Rocket 4.0 1TB, WD Red 4TB (x6 in RAIDZ1 w/ LSI 9207-8i) | OS - TrueNAS Scale (Debian)

Link to post
Share on other sites

2 minutes ago, PorkishPig said:

Lutris for xubuntu 16.04 looks to be deprecated.

 

Try remove all existing PPA entries and download them again with:


sudo rm -rf /var/lib/apt/lists/*
sudo rm -rf /etc/apt/sources.list.d/*
sudo apt-get update

You can download a newer version of Lutris if necessary with:


sudo add-apt-repository ppa:lutris-team/lutris
sudo apt-get update
sudo apt-get install lutris

 

Thank you so much this fixed the problem.

Link to post
Share on other sites

  • 3 years later...
On 4/8/2020 at 10:13 PM, PorkishPig said:
sudo add-apt-repository ppa:lutris-team/lutris

So after removing the ppa with the first two commands, I used this command but got this error:

"tw9user@debian:~$ sudo add-apt-repository ppa:lutris-team/lutris
Traceback (most recent call last):
 File "/usr/bin/add-apt-repository", line 362, in <module>
   sys.exit(0 if addaptrepo.main() else 1)
                 ^^^^^^^^^^^^^^^^^
 File "/usr/bin/add-apt-repository", line 345, in main
   shortcut = handler(source, **shortcut_params)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/usr/lib/python3/dist-packages/softwareproperties/shortcuts.py", line 40, in shortcut_handler
   return handler(shortcut, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 86, in __init__
   if self.lpppa.publish_debug_symbols:
      ^^^^^^^^^^
 File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 126, in lpppa
   self._lpppa = self.lpteam.getPPAByName(name=self.ppaname)
                 ^^^^^^^^^^^
 File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 113, in lpteam
   self._lpteam = self.lp.people(self.teamname)
                  ^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'people'
tw9user@debian:~$"

 

If im correct... isnt this error a python error? Is there a way to fix this?

 

Link to post
Share on other sites

  • 2 weeks later...
On 9/21/2023 at 5:32 PM, TW9User said:

So after removing the ppa with the first two commands, I used this command but got this error:

"tw9user@debian:~$ sudo add-apt-repository ppa:lutris-team/lutris
Traceback (most recent call last):
 File "/usr/bin/add-apt-repository", line 362, in <module>
   sys.exit(0 if addaptrepo.main() else 1)
                 ^^^^^^^^^^^^^^^^^
 File "/usr/bin/add-apt-repository", line 345, in main
   shortcut = handler(source, **shortcut_params)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/usr/lib/python3/dist-packages/softwareproperties/shortcuts.py", line 40, in shortcut_handler
   return handler(shortcut, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 86, in __init__
   if self.lpppa.publish_debug_symbols:
      ^^^^^^^^^^
 File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 126, in lpppa
   self._lpppa = self.lpteam.getPPAByName(name=self.ppaname)
                 ^^^^^^^^^^^
 File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 113, in lpteam
   self._lpteam = self.lp.people(self.teamname)
                  ^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'people'
tw9user@debian:~$"

 

If im correct... isnt this error a python error? Is there a way to fix this?

 

You probably deleted sources.list.d and lists instead of just the contents. Recreate it with:

sudo mkdir /etc/apt/sources.list.d
sudo mkdir /var/lib/apt/lists
sudo apt-get update

Make sure to quote me or use @PorkishPig to notify me that you replied!

 

 

Desktop

CPU - Ryzen 9 3900X | Cooler - Noctua NH-D15 | Motherboard - ASUS TUF X570-PLUS RAM - Corsair Vengeance LPX DDR4-3200 32GB Case - Meshify C

GPU - RTX 3080 FE PSU - Straight Power 11 850W Platinum Storage - 980 PRO 1TB, 960 EVO 500GB, S31 1TB, MX500 500GB | OS - Windows 11 Pro

 

Homelab

CPU - Core i5-11400 | Cooler - Noctua NH-U12S | Motherboard - ASRock Z590M-ITX RAM - G.Skill Ripjaws V DDR4-3600 32GB (2x16)  | Case - Node 304

PSU - EVGA B3 650W | Storage - 860 EVO 256GB, Sabrent Rocket 4.0 1TB, WD Red 4TB (x6 in RAIDZ1 w/ LSI 9207-8i) | OS - TrueNAS Scale (Debian)

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×