Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
1.3 kB
1
Indexable
Never
bengisu@bengisu-VirtualBox:~/Desktop$ apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y && apt-get install gcc
Reading package lists... Done
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)
bengisu@bengisu-VirtualBox:~/Desktop$ ^C
bengisu@bengisu-VirtualBox:~/Desktop$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys
[sudo] password for bengisu: 
Executing: /tmp/apt-key-gpghome.E1mNqnMB9D/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys
bengisu@bengisu-VirtualBox:~/Desktop$ apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y && apt-get install gcc
Reading package lists... Done
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)
bengisu@bengisu-VirtualBox:~/Desktop$