Default OS update log
#51
(11-03-2019, 07:32 PM)evilbunny Wrote:
(11-03-2019, 07:30 PM)rick1959 Wrote:
(11-03-2019, 01:58 PM)Der Geist der Maschine Wrote: # apt-get update && apt-get dist-upgrade

Unfortunately, those commands aren't working. 
I get this:
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)

Any ideas? Thanks! :-)

use sudo in front of the commands above...
Thanks EV, but here's what I get when I put sudo in front:
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:2 http://cdn-fastly.deb.debian.org/debian stretch InRelease              
Hit:3 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease
Hit:4 http://cdn-fastly.deb.debian.org/debian stretch Release
Reading package lists... Done
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

Any other ideas? Thanks! :-)
#52
(11-03-2019, 07:41 PM)rick1959 Wrote:
(11-03-2019, 07:32 PM)evilbunny Wrote:
(11-03-2019, 07:30 PM)rick1959 Wrote:
(11-03-2019, 01:58 PM)Der Geist der Maschine Wrote: # apt-get update && apt-get dist-upgrade

Unfortunately, those commands aren't working. 
I get this:
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)

Any ideas? Thanks! :-)

use sudo in front of the commands above...
Thanks EV, but here's what I get when I put sudo in front:
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:2 http://cdn-fastly.deb.debian.org/debian stretch InRelease              
Hit:3 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease
Hit:4 http://cdn-fastly.deb.debian.org/debian stretch Release
Reading package lists... Done
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

Any other ideas? Thanks! :-)

&& starts a new command, so you need to add sudo between && and apt-get
#53
(11-03-2019, 07:42 PM)evilbunny Wrote:
(11-03-2019, 07:41 PM)rick1959 Wrote:
(11-03-2019, 07:32 PM)evilbunny Wrote:
(11-03-2019, 07:30 PM)rick1959 Wrote:
(11-03-2019, 01:58 PM)Der Geist der Maschine Wrote: # apt-get update && apt-get dist-upgrade

Unfortunately, those commands aren't working. 
I get this:
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)

Any ideas? Thanks! :-)

use sudo in front of the commands above...
Thanks EV, but here's what I get when I put sudo in front:
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:2 http://cdn-fastly.deb.debian.org/debian stretch InRelease              
Hit:3 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease
Hit:4 http://cdn-fastly.deb.debian.org/debian stretch Release
Reading package lists... Done
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

Any other ideas? Thanks! :-)

&& starts a new command, so you need to add sudo between && and apt-get
Perfect, Thank You!!!

The modified command : sudo apt-get update && sudo apt-get dist-upgrade
Works like a charm! :-)
#54
(11-03-2019, 07:48 PM)rick1959 Wrote:
(11-03-2019, 07:42 PM)evilbunny Wrote:
(11-03-2019, 07:41 PM)rick1959 Wrote:
(11-03-2019, 07:32 PM)evidddlbunny Wrote:
(11-03-2019, 07:30 PM)drick1959 Wrote: Unfortunately, those commands aren't working. 
I get this:
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)

Any ideas? Thanks! :-)

use sudo in front of the commands above...
Thanks EV, but here's what I get when I put sudo in front:
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:2 http://cdn-fastly.deb.debian.org/debian stretch InRelease              
Hit:3 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease
Hit:4 http://cdn-fastly.deb.debian.org/debian stretch Release
Reading package lists... Done
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

Any other ideas? Thanks! :-)

&& starts a new command, so you need to add sudo between && and apt-get
Perfect, Thank You!!!

The modified command : sudo apt-get update && sudo apt-get dist-upgrade
Works like a charm! :-)

In tutorials, you see quite often commands prefixed with either # or $. They are the typical login prompts, # for root and $ for non-root and they indicate what privileges are required to execute them.

How to become root is a matter of preference.

Hope that helps to avoid confusion in the future.
#55
(11-03-2019, 09:16 PM)Der Geist der Maschine Wrote:
(11-03-2019, 07:48 PM)rick1959 Wrote:
(11-03-2019, 07:42 PM)evilbunny Wrote:
(11-03-2019, 07:41 PM)rick1959 Wrote:
(11-03-2019, 07:32 PM)evidddlbunny Wrote: use sudo in front of the commands above...
Thanks EV, but here's what I get when I put sudo in front:
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:2 http://cdn-fastly.deb.debian.org/debian stretch InRelease              
Hit:3 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease
Hit:4 http://cdn-fastly.deb.debian.org/debian stretch Release
Reading package lists... Done
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

Any other ideas? Thanks! :-)

&& starts a new command, so you need to add sudo between && and apt-get
Perfect, Thank You!!!

The modified command : sudo apt-get update && sudo apt-get dist-upgrade
Works like a charm! :-)

In tutorials, you see quite often commands prefixed with either # or $. They are the typical login prompts, # for root and $ for non-root and they indicate what privileges are required to execute them.

How to become root is a matter of preference.

Hope that helps to avoid confusion in the future.
Thank You!! :-)
I appreciate not being left to my own ignorance! :-)
Just be patient with me....I'll eventually get it :-)
Good Night!!

(11-03-2019, 09:16 PM)Der Geist der Maschine Wrote:
(11-03-2019, 07:48 PM)rick1959 Wrote:
(11-03-2019, 07:42 PM)evilbunny Wrote:
(11-03-2019, 07:41 PM)rick1959 Wrote:
(11-03-2019, 07:32 PM)evidddlbunny Wrote: use sudo in front of the commands above...
Thanks EV, but here's what I get when I put sudo in front:
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:2 http://cdn-fastly.deb.debian.org/debian stretch InRelease              
Hit:3 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease
Hit:4 http://cdn-fastly.deb.debian.org/debian stretch Release
Reading package lists... Done
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

Any other ideas? Thanks! :-)

&& starts a new command, so you need to add sudo between && and apt-get
Perfect, Thank You!!!

The modified command : sudo apt-get update && sudo apt-get dist-upgrade
Works like a charm! :-)

In tutorials, you see quite often commands prefixed with either # or $. They are the typical login prompts, # for root and $ for non-root and they indicate what privileges are required to execute them.

How to become root is a matter of preference.

Hope that helps to avoid confusion in the future.
P.S. How did I get to be a "Senior" member? By age, I guess. Can't be competency!! :-)
#56
(11-03-2019, 09:20 PM)rick1959 Wrote: P.S. How did I get to be a "Senior" member? By age, I guess. Can't be competency!! :-)

I'm guessing but I'd put it down to the number of posts you have made.
#57
(11-03-2019, 01:58 PM)Der Geist der Maschine Wrote: That icon is mostly updating the kernel, uboot and device tree. You should update the actual Debian system from time to time via

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

I would recomend:

# apt update && apt upgrade

instead. It's slightly shorter and nicer for interactive use. Besides, 'apt upgrade' should be sufficient for the same release.

'apt full-upgrade' or 'apt-get dist-upgrade' are only needed when upgrading to the next release or if you are running Debian's testing or unstable versions.

You might also want to run 'apt autoremove' (or 'apt --purge autoremove' if you understand the difference between 'remove' and 'purge') when suggested by apt.
#58
(11-03-2019, 09:29 PM)evilbunny Wrote:
(11-03-2019, 09:20 PM)rick1959 Wrote: P.S. How did I get to be a "Senior" member? By age, I guess. Can't be competency!! :-)

I'm guessing but I'd put it down to the number of posts you have made.

Thanks EV!
#59
(11-03-2019, 09:16 PM)Der Geist der Maschine Wrote: How to become root is a matter of preference.

This build also includes a root terminal.  I found that some commands worked with it, that did not work with sudo.
#60
Let me slightly rephrase what I wrote earlier about keeping the system up to date:


Let me clarify what you got. You did not get a full blown Debian, but Debian minus the installer minus uboot, kernel, initrd and other small things like extlinux.conf.

Instead of the installer, you got an .img file. That's a pitty, but not relevant for keeping the system up to date.

Instead of getting uboot, the kernel and initrd from Debian you got them from Mrfixit.


* You need to update what comes from Debian with Debian's own commands:

Code:
$ sudo  sh -c "apt-get update && apt-get dist-upgrade && apt-get autoremove --purge"

or what amp prefers

Code:
$ sudo  sh -c "apt update && apt upgrade && apt autoremove"

It would not surprise me if there are GUIs around this task.


* You need to update what comes from Mrfixit by clicking on his icon.


I suggested some time ago in this very same thread https://forum.pine64.org/showthread.php?...5#pid48815 to provide deb packages for Mrfixit's changes so that they would be seamlessly installed as part of the apt-get commands, but that has not happened. Now, we need to update both parts separately.


Also, you got Debian 9 although the latest Debian version is 10. Debian 9 gets long term (security) support till 06/2022.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Locked out after update Shylocked 5 513 09-13-2024, 07:40 AM
Last Post: tophneal
  Brand new Pinebook Pro doesn't boot after Manjaro update johnboiles 8 3,758 12-15-2023, 02:11 PM
Last Post: wdt
  After update, multiple problems, pinebook pro. jd50i 1 1,490 09-16-2023, 09:41 AM
Last Post: jd50i
  Metis package can't update Mangustis 1 1,472 02-22-2023, 03:23 PM
Last Post: robocone
  Keyboard/Touchpad update SH61F83 IC zaphod80013 4 4,202 09-14-2022, 03:56 AM
Last Post: Carl
Big Grin EASY SOLUTION for Manjaro "Missing Keys" Update and Install Failure Zoroaster-Z 0 1,743 08-14-2022, 09:01 PM
Last Post: Zoroaster-Z
  Ring around screen following update tylerjohnson3208 2 2,590 05-10-2022, 01:52 AM
Last Post: diyagabriel
  Wont charge when powered off, and update question pineymousepad 7 7,330 12-11-2021, 09:50 PM
Last Post: pineymousepad
  Issues with External Display After Recent Update reundo 0 1,666 11-18-2021, 06:37 PM
Last Post: reundo
Bug Wrong FN keys after keyboard FW update j4n3z 2 3,075 10-19-2021, 01:57 AM
Last Post: j4n3z

Forum Jump:


Users browsing this thread: 2 Guest(s)