Jump to content

Recommended Posts

Posted

Hi folks,

I'm running armbian on a Banana Pi 1st generation, so far no probs. Indeed it runs very stable. The armbian is a debian jessie. Is it possible or recommended to update to stretch via the official debian upgrade path ?

The armbian is fully updated

Welcome to ARMBIAN 5.36 user-built Debian GNU/Linux 8 (jessie) 4.13.16-sunxi

I'm running an nginx php stack on the BaPi. But what about stretch ? Can I do a dist-upgrade ?

 

Sorry if this has already been discussed.

Thanks in advance for replies :-)

Posted

Possible yes, recommended? Mostly yes but in some minor/special cases, you might run into some troubles. Debian Stretch still has some glitches. 

Posted

Thanks for yur reply :-)

 

What are this glitches ? Is there a, hmm, wiki page or something else when an upgrade can be done, or do I get the upgrade automaticaly ?

 

A bit confused ..

Posted

There is no wiki and we don't deal with upstream bugs. It's impossible. This is just an observation working with Stretch, finding bugs here and there. They are less and less critical ... This upgrade is mostly unrelated to our work (modern kernel is ready, our work is Stretch ready) and you should ask Debian folks this question ... 

 

15 minutes ago, gbi said:

do I get the upgrade automaticaly


Stable distribution upgrades are usually manual. 

Posted

Hi,

 

I updated my Banana Pi from Debian Jessie to Stretch by changing /etc/apt/sources.list to point to Debian stretch repositories.

 

Now I wonder what needs to be changed in /etc/apt/sources.list.d/armbian.list

Inspired by debootstrap-ng.sh (https://github.com/armbian/build/blob/master/lib/debootstrap-ng.sh#L171) I changed the line in /etc/apt/sources.list.d/armbian.list to: 

deb http://apt.armbian.com stretch main stretch-utils stretch-desktop

Is that correct? Is there anything else that needs to be changed?

Posted
7 hours ago, Bernie_O said:

Is that correct?


Yes, it is correct. But there is always but ... unrelated to armbian. Distribution upgrades might sometimes cause troubles.

In case you are running kernel 3.4.y you need to upgrade to NEXT kernel first since 3.4.y is not sufficient for running Stretch.

 

Add: it is possible that you might need to deinstall jessie-root package and manually install stretch. 

Posted (edited)

Thank you. I am on NEXT kernel already (4.13.16).

 

1 hour ago, Igor said:

And: it is possible that you might need to deinstall jessie-root package and manually install stretch.

 

Can I do that on a running system just like this:

apt-get update
apt-get purge linux-jessie-root-next-bananpi
apt-get install linux-stretch-root-next-bananapi

Edit: is there a reboot required after doing this?

 

I noticed that on your kernel page the proper naming for board support packages for next kernel is missing: https://www.armbian.com/kernel/

Edited by Bernie_O
Posted
1 hour ago, Bernie_O said:

is there a reboot required after doing this?


Nope.

 

1 hour ago, Bernie_O said:

I noticed that on your kernel page the proper naming for board support packages for next kernel is missing: https://www.armbian.com/kernel/


Thank you. Fixed.

Posted

I have a bananapi as well and like to move on to stretch.

 

I run the latest 4.xx kernel provided by regular updates.

 

So put together I need to:

* backup my current system of course

* alter all references in /etc/apt/... files from "jessie" to "stretch"

* manually purge "jessie" related armbian packages (see above) and install the proper "stretch" packages

* run the upgrade process

* reboot

* be lucky

 

or did you @Bernie_O or @gbi run into severe problems?

 

Thanks for any hints.

 

BR

Peter

Posted

No, I didn't run into any problems (not even non-severe ones). I did everything in a differen order though:

 

- I changed /etc/apt/sources.list to point to Debian stretch repositories

- apt-get update && apt-get dist-upgrade

- then I did reboot the system

- after couple of days I noticed that I maybe should also upgrade the armbian related packages and posted my questions above

- I proceeded like pointed out above with upgrading stretch- (and purging jessie-) armbian related packages

That was it. System is running nicely thanks to the good work the armbian people do!

Posted

Hi Folks,

 

sorry for the delayed reply.

 

I did the upgrade according to this recipe: https://www.howtoforge.com/tutorial/how-to-upgrade-debian-8-jessie-to-9-stretch/

 

But I ended up with a problem. I have a LEMP stack on the Bapi, and the packages that formed the PHP environment had not been updated, they stayed at "deb8". Simple reason for this was, that in jessie the PHP packages are named "php5-*" whereas in stretch "php-*". I manually tried to "apt-get remove" them, but failed with "php5-fpm", for whatever reason. I had a blocker. I found no way to remove this blocker, so I decided to restore the backup of the whole armbian I had done right before this upgrade, and to do the upgrade once again. This time I removed all "deb8" "php5-*" packages at once, with one "apt-get remove", also I deactivated automatic start of the whole LEMP stack at boot. This second attempt worked.

 

I had to do some other cleanup, as some other packages marked "deb8" have been left over after the upgrade and dist-upgrade, for instance an old cpp or some packages with shared libraries. I "apt-get remove" or "apt-get autoremove" them.

 

The Bapi now runs

 

Welcome to ARMBIAN 5.38 stable Debian GNU/Linux 9 (stretch) 4.14.18-sunxi   
Linux bapi 4.14.18-sunxi #24 SMP Fri Feb 9 16:24:32 CET 2018 armv7l

 

So far no Armbian related problems, just for the records.

 

 

Posted

Hi guys,

 

I just upgraded from Jessie to Stretch on my Clearfogbase with emmc.

However, I am still running the 4.4.153-mvebu Kernel and would like to upgrade to 4.14.

 

I guess I should start with: 

# apt-get install linux-image-next-mvebu linux-headers-next-mvebu

But then, I am not sure about how to configure the bootloader. Here is my /boot :

root@clearfogbase:/boot# ll
total 22M
-rw-r--r-- 1 root root  258 Sep 25 20:45 armbianEnv.txt
-rw-r--r-- 1 root root 6.8K Jan 21  2017 boot.bmp
-rw-r--r-- 1 root root 1.8K Mar  4  2017 boot.cmd
-rw-r--r-- 1 root root 1.8K Jan 21  2017 boot.scr
-rw-r--r-- 1 root root 125K Sep 19 10:31 config-4.4.153-mvebu
lrwxrwxrwx 1 root root   17 Sep 21 15:59 dtb -> dtb-4.4.153-mvebu
drwxr-xr-x 2 root root 4.0K Sep 21 15:58 dtb-4.4.153-mvebu
lrwxrwxrwx 1 root root   17 Feb 10  2018 dtb.old -> dtb-4.4.115-mvebu
-rw-r--r-- 1 root root 7.4M Sep 25 20:37 initrd.img-4.4.153-mvebu
-rw-r--r-- 1 root root 2.1M Sep 19 10:31 System.map-4.4.153-mvebu
lrwxrwxrwx 1 root root   21 Sep 25 20:38 uInitrd -> uInitrd-4.4.153-mvebu
-rw-r--r-- 1 root root 7.4M Sep 25 20:38 uInitrd-4.4.153-mvebu
-rwxr-xr-x 1 root root 4.6M Sep 19 10:31 vmlinuz-4.4.153-mvebu
lrwxrwxrwx 1 root root   21 Sep 21 16:00 zImage -> vmlinuz-4.4.153-mvebu

Should I simply modify the symlink manually?

 

Thanks for you help!

Posted

Just use armbian-config for changing kernel which will remove old kernel and prevent troubles on update. Symlink is made on package install ...

Wrote on mobile

Posted

I see, thanks it's actually quite simple :)

 

One small improvement that I could see: I realized after the kernel upgrade that SFP is not supported on 4.14. Ok so let's change back to 4.4 via armbian-config, however, to do so, it requires an internet connection and without SFP => no internet connection :)

Therefore it would be nice to be able to keep multiple installed kernels and simply switch to the one you would like to boot via armbian-config

 

But thanks for the incredible job ;) 

Posted

Just wanted to say that I followed the instructions in this thread. I changed sources.list to debian stretch and then the armbian list specifically.

 

The upgrade went smooth except for some hiccup with initramfs. I had to install the busybox-static package and then do sudo update-initramfs -u

 

After doing this it worked!

Posted (edited)

my experience isn't smooth at all :(

 

was running 5.57 (not sure what that number refers to) but i am sure it's jessie.

 

apt-get update && upgrade & dist-upgrade does not switch to stretch.

 

I've manually changed sources (armbian.list) replaced jessie -> stretch , ran the same, nothing got upgraded., rebooted, same.

 

manually removed kernel

 

apt-get purge linux-jessie-root-next-orangepipc 

apt-get install linux-stretch-root-next-orangepipc

 

boots with 5.85, still says jessie ?!

 

"Welcome to ARMBIAN 5.85 stable Debian GNU/Linux 8 (jessie) 3.4.113-sun8i"

 

can't install armbian-config :

 

The following packages have unmet dependencies:
 armbian-config : Depends: expect but it is not installable
                  Depends: resolvconf but it is not installable
                  Depends: debconf-utils but it is not installable
                  Depends: html2text but it is not installable
                  Depends: html2text but it is not installable
                  Depends: dirmngr but it is not installable
E: Unable to correct problems, you have held broken packages.
 

 

any ideas?

 

[update]

 

nvm, had sources.list stuffed up.

Edited by Meshx86
[update]
Posted
10 hours ago, Meshx86 said:

my experience isn't smooth at all :(

was running 5.57 (not sure what that number refers to) but i am sure it's jessie.

apt-get update && upgrade & dist-upgrade does not switch to stretch.

any ideas?

 

actual - where jessie has been archived - you should start with the following /etc/apt/sources.list:
 

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

and enter the following commands:

sudo apt-get update

sudo apt-get upgrade

sudo apt-get dist-upgrade

 

then change the content of /etc/apt/sources.list to:
 

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

then redo:

sudo apt-get update

sudo apt-get upgrade

sudo apt-get dist-upgrade

 

and after that for cleanup:

sudo apt-get autoremove

sudo apt-get autoclean

 

You have to check that there is no other sources-list or another package-list in the directory /etc/apt/sources.list.d

Posted
On 5/19/2019 at 3:02 PM, guidol said:

 

actual - where jessie has been archived - you should start with the following /etc/apt/sources.list:
 


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

and enter the following commands:

sudo apt-get update

sudo apt-get upgrade

sudo apt-get dist-upgrade

 

then change the content of /etc/apt/sources.list to:
 


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

then redo:

sudo apt-get update

sudo apt-get upgrade

sudo apt-get dist-upgrade

 

and after that for cleanup:

sudo apt-get autoremove

sudo apt-get autoclean

 

You have to check that there is no other sources-list or another package-list in the directory /etc/apt/sources.list.d

I've tried as you adviced but nothing hapened.

 

destructor@orangepiplus:~$ sudo apt-get update
Hit http://security.debian.org jessie/updates InRelease
Ign http://httpredir.debian.org jessie InRelease                                                                               
Hit http://download.mono-project.com wheezy InRelease                                                                          
Hit http://httpredir.debian.org jessie Release.gpg                                                                             
Hit http://httpredir.debian.org jessie Release
Get:1 http://security.debian.org jessie/updates/main Sources [451 kB]
Get:2 http://download.mono-project.com wheezy/main armhf Packages [60,5 kB]
Get:3 http://httpredir.debian.org jessie/main Sources [9 169 kB]                          
Get:4 http://security.debian.org jessie/updates/contrib Sources [1 298 B]     
Get:5 http://apt.armbian.com jessie InRelease [178 B]                                      
Ign http://apt.armbian.com jessie InRelease                                                             
Get:6 http://security.debian.org jessie/updates/non-free Sources [1 794 B]                              
Get:7 http://security.debian.org jessie/updates/main armhf Packages [946 kB]                                  
Get:8 http://apt.armbian.com jessie Release.gpg [178 B]                         
Ign http://apt.armbian.com jessie Release.gpg                                                                     
Get:9 http://apt.armbian.com jessie Release [178 B]                                                               
Ign http://apt.armbian.com jessie Release                                            
Get:10 http://security.debian.org jessie/updates/contrib armhf Packages [994 B]                         
Get:11 http://apt.armbian.com jessie/main armhf Packages/DiffIndex [178 B]                                      
Ign http://apt.armbian.com jessie/main armhf Packages/DiffIndex                                                                   
Get:12 http://security.debian.org jessie/updates/non-free armhf Packages [4 393 B]                                                
Get:13 http://apt.armbian.com jessie/utils armhf Packages/DiffIndex [178 B]                                           
Ign http://apt.armbian.com jessie/utils armhf Packages/DiffIndex                                                
Get:14 http://apt.armbian.com jessie/jessie-desktop armhf Packages/DiffIndex [178 B]      
Ign http://apt.armbian.com jessie/jessie-desktop armhf Packages/DiffIndex             
Get:15 http://apt.armbian.com jessie/main armhf Packages [178 B]                      
Get:16 http://apt.armbian.com jessie/utils armhf Packages [178 B]                     
Get:17 http://apt.armbian.com jessie/jessie-desktop armhf Packages [178 B]            
Get:18 http://apt.armbian.com jessie/main armhf Packages [178 B]                      
Get:19 http://apt.armbian.com jessie/utils armhf Packages [178 B]                     
Get:20 http://apt.armbian.com jessie/jessie-desktop armhf Packages [178 B]                                  
Get:21 http://apt.armbian.com jessie/main armhf Packages [178 B]                                            
Get:22 http://apt.armbian.com jessie/utils armhf Packages [178 B]                                           
Get:23 http://apt.armbian.com jessie/jessie-desktop armhf Packages [178 B]              
Get:24 http://apt.armbian.com jessie/main armhf Packages [178 B]                            
Get:25 http://apt.armbian.com jessie/utils armhf Packages [178 B]                           
Get:26 http://apt.armbian.com jessie/jessie-desktop armhf Packages [178 B]              
Get:27 http://apt.armbian.com jessie/main armhf Packages [178 B]                        
Err http://apt.armbian.com jessie/main armhf Packages                                   
  HttpError404
Get:28 http://apt.armbian.com jessie/utils armhf Packages [178 B]                       
Err http://apt.armbian.com jessie/utils armhf Packages            
  HttpError404
Get:29 http://apt.armbian.com jessie/jessie-desktop armhf Packages [178 B]
Err http://apt.armbian.com jessie/jessie-desktop armhf Packages   
  HttpError404
Get:30 http://httpredir.debian.org jessie/contrib Sources [58,9 kB]
Get:31 http://httpredir.debian.org jessie/non-free Sources [119 kB]
Get:32 http://httpredir.debian.org jessie/main armhf Packages [8 898 kB]
Get:33 http://httpredir.debian.org jessie/contrib armhf Packages [44,3 kB]                                                                                              
Get:34 http://httpredir.debian.org jessie/non-free armhf Packages [74,9 kB]                                                                                             
Fetched 19,8 MB in 16s (1 199 kB/s)                                                                                                                                     
W: Failed to fetch http://apt.armbian.com/dists/jessie/main/binary-armhf/Packages  HttpError404

W: Failed to fetch http://apt.armbian.com/dists/jessie/utils/binary-armhf/Packages  HttpError404

W: Failed to fetch http://apt.armbian.com/dists/jessie/jessie-desktop/binary-armhf/Packages  HttpError404

E: Some index files failed to download. They have been ignored, or old ones used instead.

 

destructor@orangepiplus:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libgdiplus
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

 

destructor@orangepiplus:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
destructor@orangepiplus:~$ 
 

Posted
6 hours ago, Romber said:

I've tried as you adviced but nothing hapened.

 

                                                                                                                                
W: Failed to fetch http://apt.armbian.com/dists/jessie/main/binary-armhf/Packages  HttpError404

W: Failed to fetch http://apt.armbian.com/dists/jessie/utils/binary-armhf/Packages  HttpError404

W: Failed to fetch http://apt.armbian.com/dists/jessie/jessie-desktop/binary-armhf/Packages  HttpError404

 

 

Means two things. First your Jessie is up to date and Armbian does not offer Jessie packages anymore since it is EOS. Continue with step two and go for Stretch.

Posted
12 hours ago, Romber said:

I've tried as you adviced but nothing hapened.

First question:

where do you want to go from jessie? wheezy or stretch? (stretch would be better if the kernel-version does allow it)
before doing apt update/upgrade/dist-upgrade delete the armbian-list-entry in the directory /etc/apt/sources.list.d

after updating jessie you have to edit the file /etc/apt/sources.list to wheezy or stretch and repeat the apt commands.

Posted
8 hours ago, guidol said:

First question:

where do you want to go from jessie? wheezy or stretch? (stretch would be better if the kernel-version does allow it)
before doing apt update/upgrade/dist-upgrade delete the armbian-list-entry in the directory /etc/apt/sources.list.d

after updating jessie you have to edit the file /etc/apt/sources.list to wheezy or stretch and repeat the apt commands.

I want go to stretch and then to buster. I've done as you adviced but upgrade not was executed to end

 

destructor@orangepiplus:~$ sudo apt-get upgrade
[sudo] password for destructor: 
Sorry, try again.
[sudo] password for destructor: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... The following packages were automatically installed and are no longer required:
  libmono-corlib4.0-cil libperl4-corelibs-perl libtimedate-perl libxcb-shape0 python-support
Use 'apt-get autoremove' to remove them.
Done
The following packages have been kept back:
  adwaita-icon-theme alsa-utils apt apt-transport-https apt-utils aptitude aptitude-common aspell bc bind9-host bluez bluez-tools build-essential cpp crda curl dmsetup
  dnsutils findutils g++ gcc glib-networking glib-networking-common glib-networking-services gnome-icon-theme gnupg gparted gtk-sharp3 gtk-sharp3-gapi init
  init-system-helpers initramfs-tools initscripts iptables iputils-ping isc-dhcp-client isc-dhcp-common libaspell15 libatk3.0-cil libatomic1 libc-bin libc-dev-bin
  libc6 libc6-dev libcairo1.10-cil libcairo2 libcloog-isl4 libcryptsetup4 libcups2 libcurl3 libcurl3-gnutls libdbd-mysql-perl libdbi-perl libdevmapper1.02.1
  libdigest-sha-perl libenchant1c2a libfpm-helper0 libfreetype6 libgcc1 libgd3 libgdiplus libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgdk3.0-cil libgdk3.0-cil-dev
  libgfortran3 libgio3.0-cil libgio3.0-cil-dev libgl1-mesa-dri libglib3.0-cil libglib3.0-cil-dev libgnomecanvas2-0 libgnomecanvas2-common libgnomevfs2-0
  libgnomevfs2-common libgnutls-openssl27 libgomp1 libgtk-3-0 libgtk-3-bin libgtk3.0-cil libgtk3.0-cil-dev libharfbuzz-icu0 libimlib2 libjavascriptcoregtk-1.0-0
  libldap-2.4-2 liblircclient0 libllvm3.8 liblocale-gettext-perl libnm-glib4 libnm-util2 libpam-systemd libpango3.0-cil libparted-fs-resize0 libparted2
  libproc-processtable-perl libpython-stdlib libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib librtmp1 libsqlite3-0 libssl-dev libstdc++6 libsystemd0
  libterm-readkey-perl libtext-charwidth-perl libtext-iconv-perl libubsan0 libudev1 libwebkitgtk-1.0-0 libxml-libxml-perl libxml2 lirc locales lsb-release lshw
  lxappearance-obconf lxde lxde-core lxpanel lxpanel-data lxrandr lxsession menu mono-fastcgi-server mono-fastcgi-server4 mono-xsp4 mono-xsp4-base monodevelop
  network-manager nginx-common nginx-full ntfs-3g ntp openbox openssh-client openssh-server openssh-sftp-server openssl parted perl perl-base procps python
  python-minimal python2.7 python2.7-minimal python3 python3-apt python3-dbus python3-gi python3-minimal python3-software-properties rsyslog software-properties-common
  sqlite3 sysbench systemd sysv-rc sysvinit-utils testdisk udev util-linux vim vim-common vim-runtime vim-tiny wget wpasupplicant
0 upgraded, 0 newly installed, 0 to remove and 169 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] 
Setting up keyboard-configuration (1.164) ...
/var/lib/dpkg/info/keyboard-configuration.config: 1: eval: Syntax error: Unterminated quoted string
dpkg: error processing package keyboard-configuration (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of console-setup-linux:
 console-setup-linux depends on keyboard-configuration (= 1.164); however:
  Package keyboard-configuration is not configured yet.

dpkg: error processing package console-setup-linux (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of console-setup:
 console-setup depends on console-setup-linux | console-setup-freebsd | hurd; however:
  Package console-setup-linux is not configured yet.
  Package console-setup-freebsd is not installed.
  Package hurd is not installed.
 console-setup depends on keyboard-configuration (= 1.164); however:
  Package keyboard-configuration is not configured yet.

dpkg: error processing package console-setup (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 keyboard-configuration
 console-setup-linux
 console-setup
E: Sub-process /usr/bin/dpkg returned an error code (1)
destructor@orangepiplus:~$ 
 

Posted
14 hours ago, Romber said:

dpkg: dependency problems prevent configuration of console-setup-linux:
 console-setup-linux depends on keyboard-configuration (= 1.164); however:
  Package keyboard-configuration is not configured yet.

dpkg: error processing package console-setup-linux (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of console-setup:
 

you could also try to 

apt install -f 
 

man apt-get:

   -f, --fix-broken
       Fix; attempt to correct a system with broken dependencies in place. This
       option, when used with install/remove, can omit any packages to permit APT
       to deduce a likely solution. If packages are specified, these have to
       completely correct the problem. The option is sometimes necessary when
       running APT for the first time; APT itself does not allow broken package
       dependencies to exist on a system. It is possible that a system's dependency
       structure can be so corrupt as to require manual intervention (which usually
       means using dselect(1) or dpkg --remove to eliminate some of the offending
       packages). Use of this option together with -m may produce an error in some
       situations. Configuration Item: APT::Get::Fix-Broken.

 

Posted
On 5/19/2019 at 3:02 PM, guidol said:

 

actual - where jessie has been archived - you should start with the following /etc/apt/sources.list:
 


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

and enter the following commands:

sudo apt-get update

sudo apt-get upgrade

sudo apt-get dist-upgrade

 

then change the content of /etc/apt/sources.list to:
 


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

then redo:

sudo apt-get update

sudo apt-get upgrade

sudo apt-get dist-upgrade

 

and after that for cleanup:

sudo apt-get autoremove

sudo apt-get autoclean

 

You have to check that there is no other sources-list or another package-list in the directory /etc/apt/sources.list.d

Ha, I've rolled backup and tried again step by step. sources.list is changed but nothing for upgrade and dist-upgrade, screenfetch shows me that it still is jessie

Reading package lists... Done
destructor@orangepiplus:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
destructor@orangepiplus:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
destructor@orangepiplus:~$ 

 

I don't understand, maybe you remove distrib

Posted
12 hours ago, Romber said:

Ha, I've rolled backup and tried again step by step. sources.list is changed but nothing for upgrade and dist-upgrade, screenfetch shows me that it still is jessie

 

I don't understand, maybe you remove distrib

I dont know screenfetch, but was is the acutal content of /etc/os-release:

more /etc/os-release

 

and the actual content of /etc/apt/sources.list?

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines