You are not logged in.
I have python-software-properties installed.
When I type sudo add-apt-repository I get the error
sudo: add-apt-repository: command not foundThe only things I can find about this is to install python-software-properties but I have them installed.
What should I do?
Thanks in advance, noah ![]()
Last edited by noah (2016-04-17 19:58:28)
Think different ~ Think Linux
***
Geek Out Until It Megahertz
Offline
...
What should I do?
...
Do a Debian package search: Menu -> Help -> Debian -> Package Search ?
The `add-apt-repository` command is in the `software-properties-common` package.
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
If BunsenLabs is not recognised as a release, you may have to:
sudo apt purge bunsen-os-releaseto get it working properly.
Be aware that PPAs are not compatible with BunsenLabs and may cause problems.
See the "Don't Break BunsenLabs" link in my signature for more on this.
Offline
thanks guys, I got it working. I ran
sudo apt-get install python3-software-propertiesand
sudo apt-get install software-properties-commonwhich fixed the problem, and it's all working now.
noah ![]()
Think different ~ Think Linux
***
Geek Out Until It Megahertz
Offline
I ran both,
<sudo apt-get install python3-software-properties>
<sudo apt-get install software-properties-common>
But,they did not work at all.
"software-properties-common"
I installed it on another pc few months ago, and it had worked completely.
What's the difference?
Last edited by bayou (2018-02-25 19:53:43)
Offline
What's the terminal output when "they don't work"?
Offline
Thank you,MX Linux Developer.
<terminal output is here ↓ >
*****@*******:~$ sudo add-apt-repository ppa:danielrichter2007/grub-customizer
[sudo] password for *****:
You are about to add the following PPA to your system:
This PPA contains the latest release of Grub Customizer.
sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer
More info: https://launchpad.net/~danielrichter200 … customizer
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmp2es4jz_3/secring.gpg' created
gpg: keyring `/tmp/tmp2es4jz_3/pubring.gpg' created
gpg: requesting key 3F055C03 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp2es4jz_3/trustdb.gpg: trustdb created
gpg: key 3F055C03: public key "Launchpad PPA for Daniel Richter" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
*****@*******:~$ sudo apt-get update
Ign http://ppa.launchpad.net bunsen-hydrogen InRelease
Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
Ign http://deb.debian.org jessie InRelease
Get:2 http://deb.debian.org jessie-updates InRelease [145 kB]
Ign http://ppa.launchpad.net bunsen-hydrogen InRelease
Hit http://pkg.bunsenlabs.org jessie-backports InRelease
Hit http://security.debian.org jessie/updates/non-free amd64 Packages
Hit http://pkg.bunsenlabs.org bunsen-hydrogen InRelease
Hit http://security.debian.org jessie/updates/non-free Translation-en
Hit http://security.debian.org jessie/updates/main amd64 Packages
Hit http://security.debian.org jessie/updates/contrib amd64 Packages
Hit http://security.debian.org jessie/updates/contrib Translation-en
Hit http://security.debian.org jessie/updates/main Translation-en
Ign http://ppa.launchpad.net bunsen-hydrogen InRelease
Hit http://deb.debian.org jessie Release.gpg
Hit http://deb.debian.org jessie Release
Hit http://pkg.bunsenlabs.org jessie-backports/main amd64 Packages
Ign http://ppa.launchpad.net bunsen-hydrogen Release.gpg
Get:3 http://deb.debian.org jessie-updates/main amd64 Packages/DiffIndex [10.9 kB]
Hit http://deb.debian.org jessie-updates/contrib amd64 Packages
Get:4 http://deb.debian.org jessie-updates/non-free amd64 Packages/DiffIndex [736 B]
Ign http://ppa.launchpad.net bunsen-hydrogen Release.gpg
Hit http://pkg.bunsenlabs.org bunsen-hydrogen/main amd64 Packages
Hit http://deb.debian.org jessie-updates/contrib Translation-en
Get:5 http://deb.debian.org jessie-updates/main Translation-en/DiffIndex [3,688 B]
Get:6 http://deb.debian.org jessie-updates/non-free Translation-en/DiffIndex [736 B]
Ign http://ppa.launchpad.net bunsen-hydrogen Release.gpg
Hit http://deb.debian.org jessie/main amd64 Packages
Ign http://ppa.launchpad.net bunsen-hydrogen Release
Hit http://deb.debian.org jessie/non-free amd64 Packages
Hit http://deb.debian.org jessie/contrib amd64 Packages
Ign http://ppa.launchpad.net bunsen-hydrogen Release
Hit http://deb.debian.org jessie/contrib Translation-en
Ign http://ppa.launchpad.net bunsen-hydrogen Release
Hit http://deb.debian.org jessie/main Translation-en
Hit http://deb.debian.org jessie/non-free Translation-en
Ign http://pkg.bunsenlabs.org jessie-backports/main Translation-en_US
Ign http://pkg.bunsenlabs.org jessie-backports/main Translation-en
Ign http://pkg.bunsenlabs.org bunsen-hydrogen/main Translation-en_US
Ign http://pkg.bunsenlabs.org bunsen-hydrogen/main Translation-en
Err http://ppa.launchpad.net bunsen-hydrogen/main amd64 Packages
404 Not Found
Ign http://ppa.launchpad.net bunsen-hydrogen/main Translation-en_US
Ign http://ppa.launchpad.net bunsen-hydrogen/main Translation-en
Err http://ppa.launchpad.net bunsen-hydrogen/main amd64 Packages
404 Not Found
Ign http://ppa.launchpad.net bunsen-hydrogen/main Translation-en_US
Ign http://ppa.launchpad.net bunsen-hydrogen/main Translation-en
Err http://ppa.launchpad.net bunsen-hydrogen/main amd64 Packages
404 Not Found
Ign http://ppa.launchpad.net bunsen-hydrogen/main Translation-en_US
Ign http://ppa.launchpad.net bunsen-hydrogen/main Translation-en
Fetched 224 kB in 30s (7,421 B/s)
W: Failed to fetch http://ppa.launchpad.net/atareao/atarea … 4/Packages 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/danielrichter2 … 4/Packages 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/teejee2008/ppa … 4/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
*****@*******:~$ sudo apt-get install grub-customizer
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package grub-customizer
*****@*******:~$
Offline
~$ sudo add-apt-repository ppa:danielrichter2007/grub-customizer
It's probably a good thing that didn't work because it may have broken your system completely.
The only way to make that `add-apt-repository` command work is to "fake" /etc/os-release and mimic an Ubuntu version.
What do you want to do with your boot screen?
I'm sure we can do it without the framework ![]()
Offline
Thank you,Head_on_a_Stick.
I didn't know that grub-customizer might broke BL system.
But I want to install some other packages, for example,my-weathe-indicator,calendar-indicator,selene,clipgrab,albert,handbrake,simple screen recorder,and so on.
Offline
I want to install some other packages, for example,my-weathe-indicator,calendar-indicator,selene,clipgrab,albert,handbrake,simple screen recorder,and so on.
Offline
You need to look around for Debian-compatible repositories instead of thinking that Ubuntu PPAs are the answer.
I keep a lot of the multimedia ones updated as far as possible for a Jessie base in my own OBS repo: http://forums.debian.net/viewtopic.php?f=6&t=127574
including handbrake, clipgrab, simplescreenrecorder, etc. I have some other repos there, such as for qBittorrent or the Pale Moon browser, too. The MX Linux repos also have most of these outside packages for Jessie, too, such as grub-customizer.
Offline
Moral of the story I can tell is don't ever install any packages meant for Ubuntu onto a Debian/BL system as you run the risk of breakage. At the least the application may or may not run or at worst you've broken something critical so a reinstall may be required
I been there done that myself. You been warned :^)
PS: Stevep got it right...stay away from the Ubuntu PPA's unless the PPA's owner says there are Debian compatible packages in such repo.
Last edited by DeepDayze (2018-02-27 01:39:27)
Real Men Use Linux
Offline
Yeah, you might be ok installing an icon pack, say, but Ubuntu follows a rolling release cycle means a lot of its core libraries are differently versioned than those of Debian stable.
Changes to underlying C++ libraries, python libraries, and perl libraries, especially can hose a system quickly.
Offline
Thank you,everyone. I'ii keep using BL without those packages. Thak you vey much.
Offline
Thank you,everyone. I'ii keep using BL without those packages. Thak you vey much.
You don't have to do that. Like I said, many of those are available in my own repo and won't break your install.
Offline
Thanks.I'll Try some of them.
Offline