LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Synaptic And Other Things Not Working in a fresh install of Debian 9 (https://www.linuxquestions.org/questions/debian-26/synaptic-and-other-things-not-working-in-a-fresh-install-of-debian-9-a-4175621100/)

Ztcoracat 01-06-2018 02:04 PM

Synaptic And Other Things Not Working in a fresh install of Debian 9
 
After a fresh installation of Debian 9 things stopped working properly and I think that libraries are missing. Notice I said 'think'

At one point Synaptic launched w/o root privileges.
Now, when booted into the XFCE DE Synaptic will only launch by executing 'synaptic' as root in the konsole.

Synaptic launches w/o any problems while booted into the Mate DE.

LightDM launches in the Mate DE but not in the KDE DE. Also I don't have lightDM-KDE-greeter in the KDE DE.

I looked in Synaptic to see what is installed. Here's the list:

Code:

lightdm
lightdm-gtk-greeter
lightdm-gtk-greeter-settings
liblightdm-gobject-1-0

It looks like the API's are missing libraries and this is why Synaptic and other things are either crashing or not launching at all.

How can I find out what libraries are missing and what libraries to install?

OR is this a front end issue? How do I fix this?

Here's the other thread where things aren't going well with this install.

https://www.linuxquestions.org/quest...93#post5802993

BTW the SHA for the Debian 9 .iso checked out fine.

Habitual 01-06-2018 04:09 PM

Quote:

Originally Posted by Ztcoracat (Post 5802998)

How can I find out what libraries are missing and what libraries to install?

OR is this a front end issue? How do I fix this?

Here's the other thread where things aren't going well with this install.

https://www.linuxquestions.org/quest...93#post5802993

BTW the SHA for the Debian 9 .iso checked out fine.

Hey you:

Have you installed or referred to the debian-handbook "yet"?

Ztcoracat 01-06-2018 05:24 PM

Quote:

Originally Posted by Habitual (Post 5803025)
Hey you:

Have you installed or referred to the debian-handbook "yet"?

Yes, I have the Debian Handbook on my pc. Still reading it:-

Ztcoracat 01-06-2018 10:06 PM

Here's more information and things going on with Synaptic.

http://s1052.photobucket.com/user/Ul...50-25.png.html

Code:

W: http://security.debian.org/debian-security/dists/stretch/updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://mirrors.kernel.org/debian/dists/stretch-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://mirrors.kernel.org/debian/dists/stretch/Release.gpg: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.​


ondoho 01-07-2018 05:59 AM

i cannot view images on phoyobucket.
what you quoted are just warnings.
how exactly does synaptic fail? when called from the menu? or from terminal or launcher?
what exact commands are you using, and what exactly do they return?
why do you have several DEs installed? this might well cause (minor) problems.

Ztcoracat 01-07-2018 04:31 PM

While booted into the XFCE DE Synaptic will only launch by executing 'synaptic' as root in the konsole.
Synaptic will not launch from the Applications Menu at all.

Synaptic launches w/o any problems from the Applications Menu while booted into the Mate DE.

If I type 'synaptic' to launch it in the konsole it returns cmd not found.


Quote:

why do you have several DEs installed?
So I can have a variety of different environments to choose from.

Quote:

this might well cause (minor) problems.
Can you point me to the documentation that you are using that verifies that?

Lysander666 01-07-2018 05:01 PM

Quote:

Originally Posted by Ztcoracat (Post 5802998)
At one point Synaptic launched w/o root privileges.
Now, when booted into the XFCE DE Synaptic will only launch by executing 'synaptic' as root in the konsole.

Probably because you were logged in for under fifteen minutes already and didn't realise it. It's happened to me before. Confused me initially until I thought about it. I thought it had installed something without root privileges but it hadn't.

Can you post your sources.list?

m.a.l.'s pa 01-07-2018 05:05 PM

In my Debian 9 Xfce installation I have /usr/bin/synaptic-pkexec, and I can use the following from the command line:

Code:

$ synaptic-pkexec
Will this work in your system?

Ztcoracat 01-07-2018 05:23 PM

Quote:

Originally Posted by Lysander666 (Post 5803362)
Probably because you were logged in for under fifteen minutes already and didn't realise it. It's happened to me before. Confused me initially until I thought about it. I thought it had installed something without root privileges but it hadn't.

Can you post your sources.list?

Here's my src's list:

Code:

$ cat /etc/apt/sources.list
#

# deb cdrom:[Debian GNU/Linux 9.3.0 _Stretch_ - Official amd64 DVD Binary-1 20171209-12:11]/ stretch contrib main

#deb cdrom:[Debian GNU/Linux 9.3.0 _Stretch_ - Official amd64 DVD Binary-1 20171209-12:11]/ stretch contrib main

deb http://mirrors.kernel.org/debian/ stretch main non-free contrib
deb-src http://mirrors.kernel.org/debian/ stretch main non-free contrib

deb http://security.debian.org/debian-security stretch/updates main contrib non-free
deb-src http://security.debian.org/debian-security stretch/updates main contrib non-free

# stretch-updates, previously known as 'volatile'
deb http://mirrors.kernel.org/debian/ stretch-updates main contrib non-free
deb-src http://mirrors.kernel.org/debian/ stretch-updates main contrib non-free

Since it's happened to you before I think I understand.
There must be things still running in the background that launching Synaptic isn't ready to launch yet?

Lysander666 01-07-2018 05:38 PM

I've looked around and you are not alone. Quite a few instances of this. My recommendation is to Google your error messages. Some places to start:

http://forums.debian.net/viewtopic.php?f=5&t=130558
https://www.reddit.com/r/debian/comm...tretch_broken/
http://forums.debian.net/viewtopic.php?f=5&t=130558

By the way, your Black and White Forest picture is incredible.

Ztcoracat 01-07-2018 06:07 PM

Quote:

Originally Posted by Lysander666 (Post 5803384)
I've looked around and you are not alone. Quite a few instances of this. My recommendation is to Google your error messages. Some places to start:

http://forums.debian.net/viewtopic.php?f=5&t=130558
https://www.reddit.com/r/debian/comm...tretch_broken/
http://forums.debian.net/viewtopic.php?f=5&t=130558

By the way, your Black and White Forest picture is incredible.

Thanks for the links. I'll check them out.

Glad you liked my Black and White Forest-;)

A lot of the error messages are greek to me. One of the errors with Xiphos was a bug.

Is there anything else you can think of that I could try to fix these things that are going on?

kilgoretrout 01-07-2018 08:56 PM

I have Debian 9 installed with XFCE and IIRC I had to install the gksu package before synaptic or other applications that require root privileges would launch from the menu or from a launch icon. Now synaptic and gparted both prompt for the root password and launch as expected.

Long story short, try installing gksu:

Code:

# apt install gksu

Ztcoracat 01-07-2018 10:31 PM

I followed the instructions in the first link you posted.
http://forums.debian.net/viewtopic.php?f=5&t=130558

Code:

cp /etc/apt/trusted.gpg /etc/apt/trusted.gpg.wmittz
cp: cannot open '/etc/apt/trusted.gpg' for reading: Permission denied
sifu@sifu-MS-7845:~$ sudo cp /etc/apt/trusted.gpg /etc/apt/trusted.gpg.wmittz
[sudo] password for sifu:
sifu@sifu-MS-7845:~$ sudo rm /etc/apt/trusted.gpg
sifu@sifu-MS-7845:~$ sudo apt-key update
Warning: 'apt-key update' is deprecated and should not be used anymore!
Note: In your distribution this command is a no-op and can therefore be removed safely.

Synaptic is still showing the error that I posted in Post #4.

What is going on? And what do I need to do to fix it?

Ztcoracat 01-07-2018 10:32 PM

Quote:

Originally Posted by kilgoretrout (Post 5803435)
I have Debian 9 installed with XFCE and IIRC I had to install the gksu package before synaptic or other applications that require root privileges would launch from the menu or from a launch icon. Now synaptic and gparted both prompt for the root password and launch as expected.

Long story short, try installing gksu:

Code:

# apt install gksu

gksu is installed--

Lysander666 01-08-2018 04:38 AM

Quote:

Originally Posted by Ztcoracat (Post 5803464)

What is going on? And what do I need to do to fix it?

OK but did you try the other links apart from the first one? To answer your question - I don't know what's going on, but have a look at the other links, they are there to help you too. The Reddit one may prove useful. I would recommend reading around a bit and Googling your error message, since the time taken to do that could take less time than waiting for forum responses.


All times are GMT -5. The time now is 11:44 PM.