Sources

Automate Package Manager is a robust solution for MSPs seeking an efficient and streamlined approach to software management across diverse operating systems. With its cross-platform compatibility, integration with popular package managers like Chocolatey, Apt-get, Yum, and Homebrew makes it the go to choice for software update management.
Post Reply
frankbe
Posts: 52
Joined: Thu Jun 13, 2019 2:48 pm
6

Sources

Post by frankbe »

Hi,

i run the scanner script - should there be the version number in the column available ?
atmbehost.png
atmbehost.png (66.84 KiB) Viewed 1737 times
and in the list of sources, should the button be green ?
atmbehost1.png
atmbehost1.png (15.16 KiB) Viewed 1737 times

User avatar
Cubert
Posts: 2694
Joined: Tue Dec 29, 2015 7:57 pm
9
Contact:

Re: Sources

Post by Cubert »

By default you do not need to apply a source to your Linux distros unless you want to add a 3rd party repo to capture a LOB application or such. But yes, grey is the color of icon.

As for the updates. obviously thats not right. We need to see what was returned from the agent during the scheduled script execution on agent.

Have a look at script and command logs during the timefram of a scheduled script scan and look at what it was returning. Post a copy of that here and I can see if there was some malformation. Open up the agent in the control center and review the script logs and command logs while script was running.

Scripts Log:

Screenshot 2025-02-27 125356.png
Screenshot 2025-02-27 125356.png (46.22 KiB) Viewed 1557 times

Commands Log


Screenshot 2025-02-27 125451.png
Screenshot 2025-02-27 125451.png (80.94 KiB) Viewed 1557 times

frankbe
Posts: 52
Joined: Thu Jun 13, 2019 2:48 pm
6

Re: Sources

Post by frankbe »

i think i found the problem:

Your script depends on english for the default system language
We have german System and so output for german is for example :

apt-cache policy bash
bash:
Installiert: 5.2.15-2+b2
Installationskandidat: 5.2.15-2+b7
Versionstabelle:
5.2.15-2+b7 500
500 http://ftp.de.debian.org/debian bookworm/main amd64 Packages
*** 5.2.15-2+b2 100
100 /var/lib/dpkg/status

and in english:
bash:
Installed: 5.2.15-2+b2
Candidate: 5.2.15-2+b7
Version table:
5.2.15-2+b7 500
500 http://ftp.de.debian.org/debian bookworm/main amd64 Packages
*** 5.2.15-2+b2 100
100 /var/lib/dpkg/status


You look for the string "candidate"

Can you check your sripts and change the language to english maybe with
LANG=en_US_8859_1

User avatar
Cubert
Posts: 2694
Joined: Tue Dec 29, 2015 7:57 pm
9
Contact:

Re: Sources

Post by Cubert »

yes Let me look at this as well.

User avatar
Cubert
Posts: 2694
Joined: Tue Dec 29, 2015 7:57 pm
9
Contact:

Re: Sources

Post by Cubert »

In build 1.0.0.26 Due out today, I added to all scripts that create bash scripts for Linux or Mac to now include at the top

Code: Select all

export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8

Post Reply

Return to “Automate Package Manager”