Bug#842264: Wrong OS version detected

2016-11-07 Thread Трезвый Дворник
Hi!
I am sorry for delay.

noroot@f555l:~$ apt-cache policy | grep release
 release a=now
 release
v=14.04,o=LP-PPA-keks9n-skypetab,a=trusty,n=trusty,l=SkypeTab,c=main,b=i386
 release
v=14.04,o=LP-PPA-keks9n-skypetab,a=trusty,n=trusty,l=SkypeTab,c=main,b=amd64
 release
v=15.04,o=LP-PPA-openshot.developers,a=vivid,n=vivid,l=OpenShot: Stable PPA
- Official Releases,c=main,b=i386
 release
v=15.04,o=LP-PPA-openshot.developers,a=vivid,n=vivid,l=OpenShot: Stable PPA
- Official Releases,c=main,b=amd64
 release v=15.10,o=LP-PPA-obsproject-obs-studio,a=wily,n=wily,l=OBS
Studio,c=main,b=i386
 release v=15.10,o=LP-PPA-obsproject-obs-studio,a=wily,n=wily,l=OBS
Studio,c=main,b=amd64
 release v=15.10,o=LP-PPA-noobslab-icons,a=wily,n=wily,l=Collection of
icons PPA,c=main,b=i386
 release v=15.10,o=LP-PPA-noobslab-icons,a=wily,n=wily,l=Collection of
icons PPA,c=main,b=amd64
 release v=15.10,o=LP-PPA-noobslab-themes,a=wily,n=wily,l=Themes
Collection by NoobsLab,c=main,b=i386
 release v=15.10,o=LP-PPA-noobslab-themes,a=wily,n=wily,l=Themes
Collection by NoobsLab,c=main,b=amd64
 release o=liquorix,a=unstable,n=sid,l=kernel,c=main,b=i386
 release o=liquorix,a=unstable,n=sid,l=kernel,c=main,b=amd64
 release
v=15.04,o=LP-PPA-alessandro-strada,a=vivid,n=vivid,l=google-drive-ocamlfuse,c=main,b=i386
 release
v=15.04,o=LP-PPA-alessandro-strada,a=vivid,n=vivid,l=google-drive-ocamlfuse,c=main,b=amd64
 release v=1.0,o=Google, Inc.,a=stable,n=stable,l=Google,c=main,b=amd64
 release
v=6.0.10,o=Debian,a=oldoldstable,n=squeeze,l=Debian,c=main,b=i386
 release
v=6.0.10,o=Debian,a=oldoldstable,n=squeeze,l=Debian,c=main,b=amd64
 release o=obs://
build.opensuse.org/home:Horst3180/Debian_8.0,n=Debian_8.0,l=home:Horst3180,c=
 release o=. trusty,n=trusty,l=. trusty,c=non-free,b=i386
 release o=. trusty,n=trusty,l=. trusty,c=non-free,b=amd64
 release
o=Debian,a=experimental,n=experimental,l=Debian,c=non-free,b=i386
 release
o=Debian,a=experimental,n=experimental,l=Debian,c=non-free,b=amd64
 release
o=Debian,a=experimental,n=experimental,l=Debian,c=contrib,b=i386
 release
o=Debian,a=experimental,n=experimental,l=Debian,c=contrib,b=amd64
 release o=Debian,a=experimental,n=experimental,l=Debian,c=main,b=i386
 release o=Debian,a=experimental,n=experimental,l=Debian,c=main,b=amd64
 release o=Debian,a=unstable,n=sid,l=Debian,c=non-free,b=i386
 release o=Debian,a=unstable,n=sid,l=Debian,c=non-free,b=amd64
 release o=Debian,a=unstable,n=sid,l=Debian,c=contrib,b=i386
 release o=Debian,a=unstable,n=sid,l=Debian,c=contrib,b=amd64
 release o=Debian,a=unstable,n=sid,l=Debian,c=main,b=i386
 release o=Debian,a=unstable,n=sid,l=Debian,c=main,b=amd64
 release o=Debian,a=testing,n=stretch,l=Debian,c=non-free,b=i386
 release o=Debian,a=testing,n=stretch,l=Debian,c=non-free,b=amd64
 release o=Debian,a=testing,n=stretch,l=Debian,c=contrib,b=i386
 release o=Debian,a=testing,n=stretch,l=Debian,c=contrib,b=amd64
 release o=Debian,a=testing,n=stretch,l=Debian,c=main,b=i386
 release o=Debian,a=testing,n=stretch,l=Debian,c=main,b=amd64

noroot@f555l:~$ lsb_release -sirc
Debian
6.0.10
squeeze

I added second section to my lonely preferences file

noroot@f555l:~$ cat /etc/apt/preferences.d/baobab
Package: baobab
Pin: version 2.*
Pin-Priority: 1001

Package: *
Pin: release o=Debian,n=squeeze
Pin-Priority: 1

And it works better now
noroot@f555l:~$ lsb_release -sirc
Debian
unstable
sid
noroot@f555l:~$ screenfetch -n
 noroot@f555l
 OS: Debian unstable sid
 Kernel: x86_64 Linux 4.8.0-5.2-liquorix-amd64

Can that string (optionally) be taken from hostnameclt(for systemd users)
or something like that to avoid wrong apt/preferences configuration?

Thank you!
Best regards,
Dmitri

2016-11-04 0:49 GMT+03:00 Hideki Yamane :

>  lsb-release package probably detects your system as squeeze due to
>  apt policy setting. Could you show me "apt-cache policy | grep release"?
>


Bug#842264: Wrong OS version detected

2016-11-03 Thread Hideki Yamane
Hi,

 Thanks for the log, it runs "lsb_release -sirc" and it returns your
 system is squeeze.

> -- System Information:
> Debian Release: stretch/sid
>   APT prefers oldoldstable
>   APT policy: (500, 'oldoldstable'), (500, 'unstable'), (500, 'testing'),
> (1,
> 'experimental')

 lsb-release package probably detects your system as squeeze due to
 apt policy setting. Could you show me "apt-cache policy | grep release"?
 

-- 
Regards,

 Hideki Yamane henrich @ debian.or.jp/org
 http://wiki.debian.org/HidekiYamane



Bug#842264: Wrong OS version detected

2016-10-28 Thread Трезвый Дворник
>
>  Please exec "$ bash -xv /usr/bin/screefetch -n 2>&1 > screenfetch.log"
>  and send screenfetch.log.
>
> Here it is. Strange thing for me, lsb_release -d shows 6.0.10 (squeeze),
forgot about it, just tried to look in absent /etc/lsb-release
[[ ! ]] + [[ -z '' ]]
[[ ! ]] + distro=Unknown
[[ ! ]] + type -p lsb_release
[[ ! ]] + distro_detect=($(lsb_release -sirc))
[[ ! ]] ++ lsb_release -sirc
[[ ! ]] + [[ 3 -eq 3 ]]
[[ ! ]] + distro_codename=squeeze
[[ ! ]] + distro_release=6.0.10
[[ ! ]] + distro_detect=Debian
[[ ! ]] + case "${distro_detect}" in
[[ ! ]] + [[ -f /etc/crunchbang-lsb-release ]]
[[ ! ]] + [[ -f /etc/lsb-release-crunchbang ]]
[[ ! ]] + [[ -f /etc/os-release ]]
[[ ! ]] ++ cat /etc/os-release
[[ ! ]] + [[ PRETTY_NAME="Debian GNU/Linux stretch/sid"
[[ ! ]] NAME="Debian GNU/Linux"
[[ ! ]] ID=debian
[[ ! ]] HOME_URL="https://www.debian.org/;
[[ ! ]] SUPPORT_URL="https://www.debian.org/support;
[[ ! ]] BUG_REPORT_URL="https://bugs.debian.org/; =~ Raspbian ]]
[[ ! ]] + distro=Debian
[[ ! ]] + [[ Debian =~ RedHatEnterprise ]]
[[ ! ]] + [[ -n 6.0.10 ]]
[[ ! ]] + [[ 6.0.10 != 
\/ ]]
[[ ! ]] + distro_more=6.0.10
[[ ! ]] + [[ -n squeeze ]]
[[ ! ]] + [[ squeeze != 
\/ ]]
[[ ! ]] + myUser=noroot
[[ ! ]] + distro_more='6.0.10 squeeze'
[[ ! ]] + myHost=f555l
[[ ! ]] + [[ -n 6.0.10 squeeze ]]
[[ ! ]] + [[ Debian == \M\c\ \O\S\ \X ]]
[[ ! ]] + distro_more='Debian 6.0.10 squeeze'
[[ ! ]] + verboseOut 'Finding hostname and user...found as '''noroot@f555l
[[ ! ]] + [[ '' -eq 1 ]]
[[ ! ]] + '[' Debian == Unknown ']'
[[ ! ]] + [[ Debian != \H\i\k\u ]]
[[ ! ]] + [[ 4 -ge 4 ]]
[[ ! ]] + [[ 4 -eq 4 ]]
[[ ! ]] + [[ 4 -gt 1 ]]
[[ ! ]] + kernel=($(uname -srm))
[[ ! ]] + distro=debian
[[ ! ]] + case $distro in
[[ ! ]] + distro=Debian
[[ ! ]] + verboseOut 'Finding distro...found as '''Debian 6.0.10
[[ ! ]] ++ uname -srm
[[ ! ]] + [[ '' -eq 1 ]]
[[ ! ]] + kernel='x86_64 Linux 4.8.0-4.1-liquorix-amd64'
[[ ! ]] + verboseOut 'Finding kernel version...found as '''x86_64 Linux 4.8.0-4.1-liquorix-amd64
[[ ! ]] + [[ '' -eq 1 ]]
[[ ! ]] + unset uptime
[[ ! ]] + [[ Debian == \M\c\ \O\S\ \X ]]
[[ ! ]] + [[ Debian == \F
\B\S\D ]]
[[ ! ]] + [[ Debian == \O\p
\B\S\D ]]
[[ ! ]] + [[ Debian == \H\i\k\u ]]
[[ ! ]] + [[ -f /proc/uptime ]]
[[ ! ]] + uptime='33597.18 32226.31'
[[ ! ]] + uptime=33597
[[ ! ]] + [[ -n 33597 ]]
[[ ! ]] + [[ Debian != \H\i\k\u ]]
[[ ! ]] + secs=57
[[ ! ]] + mins=19
[[ ! ]] + hours=9
[[ ! ]] + days=0
[[ ! ]] + uptime=19m
[[ ! ]] + '[' 9 -ne 0 ']'
[[ ! ]] + uptime='9h 19m'
[[ ! ]] + '[' 0 -ne 0 ']'
[[ ! ]] + pkgs=Unknown
[[ ! ]] + verboseOut 'Finding current uptime...found as '''9h 19m
[[ ! ]] + case "${distro}" in
[[ ! ]] + [[ '' -eq 1 ]]
[[ ! ]] ++ dpkg --get-selections
[[ ! ]] ++ grep -v 'deinstall$'
[[ ! ]] ++ wc -l
[[ ! ]] + pkgs=2432
[[ ! ]] + verboseOut 'Finding current package count...found as '''2432
[[ ! ]] + [[ '' -eq 1 ]]
[[ ! ]] + [[ ! -n '' ]]
[[ ! ]] + [[ Debian == \C\y\g\w\i
 ]]
[[ ! ]] 

Bug#842264: Wrong OS version detected

2016-10-27 Thread henrich
Hi,

in message "Bug#842264: Wrong OS version detected",
Трезвый_Дворник <thedrunkyardkee...@gmail.com> wrote:
> noroot@f555l:~$ screenfetch -n
>  noroot@f555l
>  OS: Debian 6.0.10 squeeze

 Please exec "$ bash -xv /usr/bin/screefetch -n 2>&1 > screenfetch.log" 
 and send screenfetch.log.



Bug#842264: Wrong OS version detected

2016-10-27 Thread Трезвый Дворник
Package: screenfetch
Version: 3.7.0-1
Severity: normal

Dear Maintainer,

Screenfetch is detecing wrong Debian version:

noroot@f555l:~$ cat /etc/issue.net
Debian GNU/Linux stretch/sid
noroot@f555l:~$ cat /etc/debian_version
stretch/sid
noroot@f555l:~$ hostnamectl
   Static hostname: f555l
 Icon name: computer-laptop
   Chassis: laptop
Machine ID: ee00ecaab4a748a298b0302da8de6639
   Boot ID: 467d104cd4d846eca1ca0830a95e970f
  Operating System: Debian GNU/Linux stretch/sid
Kernel: Linux 4.8.0-4.1-liquorix-amd64
  Architecture: x86-64
noroot@f555l:~$ screenfetch -n
 noroot@f555l
 OS: Debian 6.0.10 squeeze
 Kernel: x86_64 Linux 4.8.0-4.1-liquorix-amd64
 Uptime: 1h 7m

Maybe I have something wrong (installed several packages from snapshots:
aptitude versions '~i' | awk -vRS= '{if ($6 !~ /[^0-9]/) {$6="unknown"}
print $3, $2, $5, $6}'|grep -w oldoldstable
i baobab: oldoldstable unknown
i freepats: 20060219-1 oldoldstable,testing,unstable
i gnome-mime-data: 2.18.0-1 oldoldstable,testing,unstable
i gnome-utils-common: 2.30.0-2 oldoldstable
i laptop-detect: oldoldstable,testing,unstable unknown
i libclass-accessor-perl: 0.34-1 oldoldstable,testing,unstable
i libcue1: oldoldstable,testing,unstable unknown
i libfile-copy-recursive-perl: 0.38-1 oldoldstable,testing,unstable
i libfont-afm-perl: 1.20-1 oldoldstable,testing,unstable
i libgtop2-7: 2.28.1-1 oldoldstable
i libhtml-tagset-perl: 3.20-2 oldoldstable,testing,unstable
i libmail-sendmail-perl: 0.79.16-1 oldoldstable,testing,unstable
i libstring-escape-perl: oldoldstable,testing,unstable unknown
i recordmydesktop: oldoldstable,testing,unstable unknown
),
but i can not detect from where is taken the "Debian 6.0.10 squeeze"
string.

Best regards,
Dmitri



-- System Information:
Debian Release: stretch/sid
  APT prefers oldoldstable
  APT policy: (500, 'oldoldstable'), (500, 'unstable'), (500, 'testing'),
(1,
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-4.1-liquorix-amd64 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

screenfetch depends on no packages.

Versions of packages screenfetch recommends:
ii  scrot  0.8-17

screenfetch suggests no packages.