Commands not found
Commands not found
I am still trying to get rid of the repository I have previously installed for getting the FAudio which was supposed to have a release file..
The Update manager can't find the Release file and always pops up the Error pop-up.
This Error pop-up long noodle is full screen high, and to get rid of it I have to reboot the OS.
There are no means to close the warning that I can find.
Tried for hours to find solution to get rid of this repository, with the terminal, and have not found the direct command to do that.
Actually have I not found no help for removing a repository.
Have displayed the commands with terminal Help.
When I type them with or without sudo :
This first line's https: content is displayed on the Update Manager Error pop-up:
alfie@alfie-office-machine:~$ 'https://download.opensuse.org/repository-ubuntu-18.4 bionic Release'
bash: https://download.opensuse.org/repository-ubuntu-18.4 bionic Release: No such file or directory
Have tried with and without 'Resources' and any other which way.
The commands 'edit-sources', 'sources' are displayed by Help command list.
alfie@alfie-office-machine:~$ remove 'https://download.opensuse.org/repository-ubuntu-18.4 bionic'
WARNING:root:could not open file '/etc/apt/sources.list'
alfie@alfie-office-machine:~$ edit-sources
WARNING:root:could not open file '/etc/apt/sources.list'
edit-sources: command not found
alfie@alfie-office-machine:~$ sources
WARNING:root:could not open file '/etc/apt/sources.list'
sources: command not found
When I directly open the the file '/etc/apt/sources.list' with the text editor, this repository is not in it.
Question: why is the Update manager still popping up the warning? And using it as if it still found it there?
Thank you in advance.
The Update manager can't find the Release file and always pops up the Error pop-up.
This Error pop-up long noodle is full screen high, and to get rid of it I have to reboot the OS.
There are no means to close the warning that I can find.
Tried for hours to find solution to get rid of this repository, with the terminal, and have not found the direct command to do that.
Actually have I not found no help for removing a repository.
Have displayed the commands with terminal Help.
When I type them with or without sudo :
This first line's https: content is displayed on the Update Manager Error pop-up:
alfie@alfie-office-machine:~$ 'https://download.opensuse.org/repository-ubuntu-18.4 bionic Release'
bash: https://download.opensuse.org/repository-ubuntu-18.4 bionic Release: No such file or directory
Have tried with and without 'Resources' and any other which way.
The commands 'edit-sources', 'sources' are displayed by Help command list.
alfie@alfie-office-machine:~$ remove 'https://download.opensuse.org/repository-ubuntu-18.4 bionic'
WARNING:root:could not open file '/etc/apt/sources.list'
alfie@alfie-office-machine:~$ edit-sources
WARNING:root:could not open file '/etc/apt/sources.list'
edit-sources: command not found
alfie@alfie-office-machine:~$ sources
WARNING:root:could not open file '/etc/apt/sources.list'
sources: command not found
When I directly open the the file '/etc/apt/sources.list' with the text editor, this repository is not in it.
Question: why is the Update manager still popping up the warning? And using it as if it still found it there?
Thank you in advance.
Re: Commands not found
What is the output of:When I directly open the the file '/etc/apt/sources.list' with the text editor, this repository is not in it.
Code: Select all
grep -r "https://download.opensuse.org/repository-ubuntu-18.4" /etc/apt/
What are the outputs of:WARNING:root:could not open file '/etc/apt/sources.list'
Code: Select all
ls -als /etc/apt/sources.list
#and
fuser /etc/apt/sources.list
Re: Commands not found
That's not the correct URL for the OBS repository. The URL isjkfloris wrote: What is the output of:Code: Select all
grep -r "https://download.opensuse.org/repository-ubuntu-18.4" /etc/apt/
Code: Select all
https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/ ./
Re: Commands not found
@dimesio
Thanks for noticing this!
@Alfie_ca
You can ignore that grep command. Can you post the output of:
Thanks for noticing this!
@Alfie_ca
You can ignore that grep command. Can you post the output of:
Code: Select all
grep -ErH ^deb /etc/apt/sources.list*
Re: Commands not found
Thank you for your questions.
Here is my terminal output to those:
alfie@alfie-office-machine:~$ grep -r "https://download.opensuse.org/repository-ubuntu-18.4" /etc/apt/
alfie@alfie-office-machine:~$ ls -als /etc/apt/sources.list
ls: cannot access '/etc/apt/sources.list': No such file or directory
alfie@alfie-office-machine:~$ fuser /etc/apt/sources.list
Specified filename /etc/apt/sources.list does not exist. ---- ????
alfie@alfie-office-machine:~$
Not sure what this means, but the directory is there, and so is the sources.list
/etc/apt/sources.list.d/additional-repositories.list
/etc/apt/sources.list.d/gezakovacs-ppa-bionic.list
/etc/apt/sources.list.d/mozillateam-ppa-bionic.list
/etc/apt/sources.list.d/official-package-repositories.list
/etc/apt/sources.list.d/opera-stable.list
to jkfloris:
alfie@alfie-office-machine:~$ grep -ErH ^deb /etc/apt/sources.list*
/etc/apt/sources.list.d/additional-repositories.list:deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
/etc/apt/sources.list.d/additional-repositories.list:deb https://download.opensuse.org/repository-ubuntu_18.4/ bionic main
/etc/apt/sources.list.d/mozillateam-ppa-bionic.list:deb http://ppa.launchpad.net/mozillateam/ppa/ubuntu bionic main
/etc/apt/sources.list.d/mozillateam-ppa-bionic.list:deb-src http://ppa.launchpad.net/mozillateam/ppa/ubuntu bionic main
/etc/apt/sources.list.d/opera-stable.list:deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)
/etc/apt/sources.list.d/skype-stable.list:deb [arch=amd64] https://repo.skype.com/deb stable main
/etc/apt/sources.list.d/gezakovacs-ppa-bionic.list:deb-src http://ppa.launchpad.net/gezakovacs/ppa/ubuntu bionic main
/etc/apt/sources.list.d/official-package-repositories.list:deb http://packages.linuxmint.com tessa main upstream import backport
/etc/apt/sources.list.d/official-package-repositories.list:deb http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
/etc/apt/sources.list.d/official-package-repositories.list:deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
/etc/apt/sources.list.d/official-package-repositories.list:deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
/etc/apt/sources.list.d/official-package-repositories.list:deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
/etc/apt/sources.list.d/official-package-repositories.list:deb http://archive.canonical.com/ubuntu/ bionic partner
alfie@alfie-office-machine:~$
Again thank you all.
Here is my terminal output to those:
alfie@alfie-office-machine:~$ grep -r "https://download.opensuse.org/repository-ubuntu-18.4" /etc/apt/
alfie@alfie-office-machine:~$ ls -als /etc/apt/sources.list
ls: cannot access '/etc/apt/sources.list': No such file or directory
alfie@alfie-office-machine:~$ fuser /etc/apt/sources.list
Specified filename /etc/apt/sources.list does not exist. ---- ????
alfie@alfie-office-machine:~$
Not sure what this means, but the directory is there, and so is the sources.list
/etc/apt/sources.list.d/additional-repositories.list
/etc/apt/sources.list.d/gezakovacs-ppa-bionic.list
/etc/apt/sources.list.d/mozillateam-ppa-bionic.list
/etc/apt/sources.list.d/official-package-repositories.list
/etc/apt/sources.list.d/opera-stable.list
to jkfloris:
alfie@alfie-office-machine:~$ grep -ErH ^deb /etc/apt/sources.list*
/etc/apt/sources.list.d/additional-repositories.list:deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
/etc/apt/sources.list.d/additional-repositories.list:deb https://download.opensuse.org/repository-ubuntu_18.4/ bionic main
/etc/apt/sources.list.d/mozillateam-ppa-bionic.list:deb http://ppa.launchpad.net/mozillateam/ppa/ubuntu bionic main
/etc/apt/sources.list.d/mozillateam-ppa-bionic.list:deb-src http://ppa.launchpad.net/mozillateam/ppa/ubuntu bionic main
/etc/apt/sources.list.d/opera-stable.list:deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)
/etc/apt/sources.list.d/skype-stable.list:deb [arch=amd64] https://repo.skype.com/deb stable main
/etc/apt/sources.list.d/gezakovacs-ppa-bionic.list:deb-src http://ppa.launchpad.net/gezakovacs/ppa/ubuntu bionic main
/etc/apt/sources.list.d/official-package-repositories.list:deb http://packages.linuxmint.com tessa main upstream import backport
/etc/apt/sources.list.d/official-package-repositories.list:deb http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
/etc/apt/sources.list.d/official-package-repositories.list:deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
/etc/apt/sources.list.d/official-package-repositories.list:deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
/etc/apt/sources.list.d/official-package-repositories.list:deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
/etc/apt/sources.list.d/official-package-repositories.list:deb http://archive.canonical.com/ubuntu/ bionic partner
alfie@alfie-office-machine:~$
Again thank you all.
Re: Commands not found
@Alfie_ca,
Please can you use the forum Code tags for delimiting blocks of terminal commands+output:
As it is... Your posts are highly unreadable...
Thanks
Bob
Please can you use the forum Code tags for delimiting blocks of terminal commands+output:
Code: Select all
...
Thanks
Bob
Re: Commands not found
Open /etc/apt/sources.list.d/additional-repositories.list as root in your favorite text editor and delete the line
Don't forget to run apt update
If apt print some errors or warnings, please post the terminal output.
(Use the forum Code-tags )
Code: Select all
deb https://download.opensuse.org/repository-ubuntu_18.4/ bionic main
To get rid of this warning, move /etc/apt/sources.list.d/official-package-repositories.list to /etc/apt/sources.listWARNING:root:could not open file '/etc/apt/sources.list'
Code: Select all
sudo mv /etc/apt/sources.list.d/official-package-repositories.list /etc/apt/sources.list
Code: Select all
sudo apt update
(Use the forum Code-tags )