You are not logged in.

#1 2016-07-01 21:59:45

topdollar
Member
From: San Jose, CA
Registered: 2016-03-20
Posts: 68

[SOLVED] Screenfetch won't show # of packages installed?

No matter what I do, when I do screenfetch, it won't show the number of packages installed! Works perfect in Arch but I can't see what I am missing! Any help would be appreciated!

Thx!

Last edited by topdollar (2016-07-02 12:07:14)


"Don't be too proud of this technological terror you have constructed... The ability to destroy a planet is insignificant next to the power of the FORCE" -Darth Vader

Offline

#2 2016-07-01 22:54:45

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,063
Website

Re: [SOLVED] Screenfetch won't show # of packages installed?

Which version of screenfetch are you using?

What is the actual terminal output when you run the command?

What is the output of:

dpkg -l | grep -c ^i

Offline

#3 2016-07-01 23:32:57

topdollar
Member
From: San Jose, CA
Registered: 2016-03-20
Posts: 68

Re: [SOLVED] Screenfetch won't show # of packages installed?

topdollar@odin:~$ dpkg -l | grep -c ^i
1330

"Don't be too proud of this technological terror you have constructed... The ability to destroy a planet is insignificant next to the power of the FORCE" -Darth Vader

Offline

#4 2016-07-01 23:38:53

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,063
Website

Re: [SOLVED] Screenfetch won't show # of packages installed?

Ooops, sorry. The actual command used by the script appears to be:

dpkg --get-selections | grep -v deinstall$ | wc -l

Or:

dpkg --get-selections | wc -l

Depending on which version you are using.

Do they produce an output?

I think my command is better smile

Is this the BunsenLabs version of screenfetch?

Offline

#5 2016-07-01 23:45:03

topdollar
Member
From: San Jose, CA
Registered: 2016-03-20
Posts: 68

Re: [SOLVED] Screenfetch won't show # of packages installed?

topdollar@odin
                             OS: Unknown 8.5 bunsen-hydrogen
                             Kernel: x86_64 Linux 3.16.0-4-amd64
                             Uptime: 2h 2m
                             Packages: Unknown
                             Shell: bash 4.3.30
                             Resolution: 1366x768
                             WM: OpenBox
                             WM Theme: Bunsen-Blue-Dark
                             GTK Theme: Buns        en [GTK2], Bunsen [GTK3]
                             Icon Theme: Faenza-Dark-Bunsen 
                             Font: Sans 10
                             CPU: Intel Core i5-3320M CPU @ 3.3GHz
                             RAM: 1887MB / 3645MB

Last edited by Head_on_a_Stick (2016-07-02 00:02:36)


"Don't be too proud of this technological terror you have constructed... The ability to destroy a planet is insignificant next to the power of the FORCE" -Darth Vader

Offline

#6 2016-07-01 23:47:18

topdollar
Member
From: San Jose, CA
Registered: 2016-03-20
Posts: 68

Re: [SOLVED] Screenfetch won't show # of packages installed?

Thx! HoaS!

topdollar@odin:~$ dpkg --get-selections | wc -l
1366

And it is our version of screenfetch!


"Don't be too proud of this technological terror you have constructed... The ability to destroy a planet is insignificant next to the power of the FORCE" -Darth Vader

Offline

#7 2016-07-01 23:52:28

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,063
Website

Re: [SOLVED] Screenfetch won't show # of packages installed?

topdollar wrote:

                             OS: Unknown 8.5 bunsen-hydrogen

There's the problem -- it doesn't recognise your system as BunsenLabs so it doesn't know how to count the packages.

What is the output of:

apt-cache policy bunsen-os-release

Offline

#8 2016-07-01 23:58:05

topdollar
Member
From: San Jose, CA
Registered: 2016-03-20
Posts: 68

Re: [SOLVED] Screenfetch won't show # of packages installed?

topdollar@odin:~$ apt-cache policy bunsen-os-release
bunsen-os-release:
  Installed: 8.5.1-1
  Candidate: 8.5.1-1
  Version table:
 *** 8.5.1-1 0
        500 [url]http://pkg.bunsenlabs.org/debian/[/url] bunsen-hydrogen/main amd64 Packages
        100 /var/lib/dpkg/status

Last edited by Head_on_a_Stick (2016-07-02 00:02:07)


"Don't be too proud of this technological terror you have constructed... The ability to destroy a planet is insignificant next to the power of the FORCE" -Darth Vader

Offline

#9 2016-07-02 00:00:57

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,063
Website

Re: [SOLVED] Screenfetch won't show # of packages installed?

How about:

cat /etc/os-release

Offline

#10 2016-07-02 00:03:06

topdollar
Member
From: San Jose, CA
Registered: 2016-03-20
Posts: 68

Re: [SOLVED] Screenfetch won't show # of packages installed?

Thx again HoaS!

topdollar@odin:~$ cat /etc/os-release
ANSI_COLOR="0;34"
BUG_REPORT_URL="https://github.com/BunsenLabs"
HOME_URL="https://bunsenlabs.org"
ID=bunsenlabs
ID_LIKE="debian"
NAME="BunsenLabs GNU/Linux"
PRETTY_NAME="BunsenLabs GNU/Linux 8.5 (Hydrogen)"
SUPPORT_URL="https://forums.bunsenlabs.org"
VERSION="8.5 (Hydrogen)"
VERSION_ID="8.5"

Last edited by Head_on_a_Stick (2016-07-02 00:04:11)


"Don't be too proud of this technological terror you have constructed... The ability to destroy a planet is insignificant next to the power of the FORCE" -Darth Vader

Offline

#11 2016-07-02 00:19:02

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,063
Website

Re: [SOLVED] Screenfetch won't show # of packages installed?

topdollar wrote:

And it is our version of screenfetch!

Are you sure?

I cannot reproduce this in my BL system:

empty@TheLab ~ % apt-cache policy screenfetch
screenfetch:
  Installed: 1:3.7.0~bl3+5b09eac-1
  Candidate: 1:3.7.0~bl3+5b09eac-1
  Version table:
 *** 1:3.7.0~bl3+5b09eac-1 0
        100 http://pkg.bunsenlabs.org/debian/ jessie-backports/main amd64 Packages
        100 /var/lib/dpkg/status
     3.6.5-1 0
        500 http://httpredir.debian.org/debian/ jessie/main amd64 Packages

That error does occur with the Debian jessie version.

Offline

#12 2016-07-02 04:31:45

nobody
The Great
Registered: 2015-08-10
Posts: 3,655

Re: [SOLVED] Screenfetch won't show # of packages installed?

Install the screenfetch package from the BL jessie-backports repository. Instructions on setting the repo up are on pkg.bunsenlabs.org. The screenfetch currently in jessie doesn't have BL support since that was merged by upstream only a month or two ago.

Offline

#13 2016-07-02 08:16:32

buildid
Member
Registered: 2016-06-22
Posts: 11

Re: [SOLVED] Screenfetch won't show # of packages installed?

if ill run the bl labs script is this done automaticly ? just a beginner with linux having the same problem as above , if not is it possible to make it like this for simple people like me :-).

Offline

#14 2016-07-02 09:52:18

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,063
Website

Re: [SOLVED] Screenfetch won't show # of packages installed?

buildid wrote:

if ill run the bl labs script is this done automaticly ?

There is an option in the welcome script to add the BunsenLabs jessie-backports repository to your system, I think.

Once the repository is added, the package can be installed with:

sudo apt-get install -t jessie-backports screenfetch

Full instructions here:
https://pkg.bunsenlabs.org/#jessie-backports

Offline

#15 2016-07-02 10:11:13

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,552
Website

Re: [SOLVED] Screenfetch won't show # of packages installed?

Head_on_a_Stick wrote:

There is an option in the welcome script to add the BunsenLabs jessie-backports repository to your system, I think.

There is, but at the moment it's only invoked if the user wants to upgrade xfce4-power-manager. I think it should be added as an option anyway, like Debian backports.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#16 2016-07-02 10:31:55

buildid
Member
Registered: 2016-06-22
Posts: 11

Re: [SOLVED] Screenfetch won't show # of packages installed?

thank you

Offline

#17 2016-07-02 12:06:12

topdollar
Member
From: San Jose, CA
Registered: 2016-03-20
Posts: 68

Re: [SOLVED] Screenfetch won't show # of packages installed?

@HoaS
I could swear that I installed our version of screenfetch! Too much beer on my part???  big_smile

@nobody
That did the trick! Thanks!


"Don't be too proud of this technological terror you have constructed... The ability to destroy a planet is insignificant next to the power of the FORCE" -Darth Vader

Offline

Board footer

Powered by FluxBB