Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
07-05-2017, 02:54 PM
|
#31
|
Member
Registered: Mar 2016
Posts: 94
Original Poster
Rep:
|
i did it and same that last one:
Quote:
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?
|
|
|
|
07-05-2017, 02:55 PM
|
#32
|
Member
Registered: Mar 2016
Posts: 94
Original Poster
Rep:
|
also i ran updates a few minutes ago from software manager and everything gone successfully. after i did restart as it required.
Last edited by THE PHANTOM; 07-05-2017 at 02:57 PM.
|
|
|
07-05-2017, 03:02 PM
|
#33
|
LQ Newbie
Registered: Jul 2017
Distribution: Kali, Ubuntu, CentOS
Posts: 8
Rep:
|
Quote:
Originally Posted by THE PHANTOM
also i ran updates a few minutes ago from software manager and everything gone successfully. after i did restart as it required.
|
now resolved?
|
|
|
07-05-2017, 03:02 PM
|
#34
|
Member
Registered: May 2011
Location: Texas
Distribution: Debian/Ubuntu,CentOS
Posts: 848
|
Im not sure why you're getting permission denied. Maybe with sudo you dont have access to update/upgrade?? Try su - to root account and then try update/upgrade.
|
|
1 members found this post helpful.
|
07-05-2017, 03:18 PM
|
#35
|
LQ Newbie
Registered: Jul 2017
Distribution: Kali, Ubuntu, CentOS
Posts: 8
Rep:
|
Quote:
Originally Posted by THE PHANTOM
i did it and same that last one:
|
sometimes, i got this error most of the time, it executes the update but you cannot see visibly whether it is updating or not.
|
|
|
07-05-2017, 03:30 PM
|
#36
|
Member
Registered: Mar 2016
Posts: 94
Original Poster
Rep:
|
Quote:
Originally Posted by erik2282
Im not sure why you're getting permission denied. Maybe with sudo you dont have access to update/upgrade?? Try su - to root account and then try update/upgrade.
|
I tried with su and everything got fine
|
|
|
07-05-2017, 03:32 PM
|
#37
|
Member
Registered: Mar 2016
Posts: 94
Original Poster
Rep:
|
what is ,,Use 'apt-get autoremove' to remove them" should i run it or? is it important?
thanks for replay and your support erik2282 and all of you who give me their time. Thanks.
Last edited by THE PHANTOM; 07-05-2017 at 03:33 PM.
|
|
|
07-05-2017, 03:37 PM
|
#38
|
Member
Registered: May 2011
Location: Texas
Distribution: Debian/Ubuntu,CentOS
Posts: 848
|
Yes. go ahead and run it.
Code:
# apt-get autoremove
From the man page:
Code:
autoremove
autoremove is used to remove packages that were automatically
installed to satisfy dependencies for some package and that are no
more needed.
|
|
1 members found this post helpful.
|
07-05-2017, 03:44 PM
|
#39
|
Member
Registered: Mar 2016
Posts: 94
Original Poster
Rep:
|
i ran it from su and that is output:
Quote:
apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
docutils-common docutils-doc firebird2.5-common firebird2.5-common-doc firebird2.5-server-common libart-2.0-2
libasprintf0c2 libcmis-0.4-4 libegl1-mesa-drivers libelfg0 libfbclient2 libfbembed2.5 libgltf-0.0-0 libllvm3.5
libopenvg1-mesa liborcus-0.8-0 libreoffice-sdbc-firebird libwps-0.3-3 linux-image-3.16.0-4-amd64 python-defusedxml
python-docutils python-imaging python-pexpect python-pil python-ptyprocess python-pygments python-renderpm
python-reportlab python-reportlab-accel python-roman python-soappy python-wstools
0 upgraded, 0 newly installed, 32 to remove and 0 not upgraded.
After this operation, 226 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 106644 files and directories currently installed.)
Removing python-soappy (0.12.22-1) ...
Removing python-wstools (0.4.3-2) ...
Removing python-docutils (0.12+dfsg-1) ...
Removing docutils-common (0.12+dfsg-1) ...
Removing docutils-doc (0.12+dfsg-1) ...
Removing libreoffice-sdbc-firebird (1:4.3.3-2+deb8u7) ...
Removing libfbembed2.5 (2.5.3.26778.ds4-5+deb8u1) ...
Removing firebird2.5-server-common (2.5.3.26778.ds4-5+deb8u1) ...
Removing libfbclient2:amd64 (2.5.3.26778.ds4-5+deb8u1) ...
Removing firebird2.5-common (2.5.3.26778.ds4-5+deb8u1) ...
Removing firebird2.5-common-doc (2.5.3.26778.ds4-5+deb8u1) ...
Removing python-renderpm:amd64 (3.1.8-3+deb8u1) ...
Removing libart-2.0-2:amd64 (2.3.21-2) ...
Removing libasprintf0c2:amd64 (0.19.8.1-1~bpo8+1) ...
Removing libcmis-0.4-4 (0.4.1-7) ...
Removing libegl1-mesa-drivers:amd64 (13.0.6-1~bpo8+1) ...
Removing libelfg0:amd64 (0.8.13-5) ...
Removing libgltf-0.0-0 (0.0.2-2) ...
Removing libllvm3.5:amd64 (1:3.5.2-3~bpo8+2) ...
Removing libopenvg1-mesa:amd64 (10.3.2-1+deb8u1) ...
Removing liborcus-0.8-0 (0.7.0+dfsg-9) ...
Removing libwps-0.3-3 (0.3.0-2) ...
Removing linux-image-3.16.0-4-amd64 (3.16.43-2+deb8u2) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-3.16.0-4-amd64
/etc/kernel/postrm.d/zz-update-grub:
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-4.9.0-0.bpo.3-amd64
Found initrd image: /boot/initrd.img-4.9.0-0.bpo.3-amd64
Found linux image: /boot/vmlinuz-4.9.0-0.bpo.2-amd64
Found initrd image: /boot/initrd.img-4.9.0-0.bpo.2-amd64
Found Windows Recovery Environment (loader) on /dev/sda1
done
Removing python-defusedxml (0.4.1-2) ...
Removing python-imaging (3.4.2-1~bpo8+1) ...
Removing python-pexpect (4.2.1-1~bpo8+1) ...
Removing python-pil:amd64 (3.4.2-1~bpo8+1) ...
Removing python-ptyprocess (0.5.1-1~bpo8+1) ...
Removing python-pygments (2.2.0+dfsg-1~bpo8+1) ...
Removing python-reportlab (3.1.8-3+deb8u1) ...
Removing python-reportlab-accel:amd64 (3.1.8-3+deb8u1) ...
Removing python-roman (2.0.0-1) ...
Processing triggers for shared-mime-info (1.5-2~bpo8+1) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
|
is that ok now? should i do any step next?
Last edited by THE PHANTOM; 07-05-2017 at 03:46 PM.
|
|
1 members found this post helpful.
|
07-05-2017, 03:46 PM
|
#40
|
Member
Registered: May 2011
Location: Texas
Distribution: Debian/Ubuntu,CentOS
Posts: 848
|
reboot just in case and then run apt-get update && upgrade one more time..
|
|
1 members found this post helpful.
|
07-05-2017, 03:49 PM
|
#41
|
Member
Registered: May 2011
Location: Texas
Distribution: Debian/Ubuntu,CentOS
Posts: 848
|
Also, since we removed the mozilla stuff from the repos, if you want the latest version of Firefox from the debian repos, run:
Code:
apt-get install firefox-esr
This will get you up to 52.2.0 as of today.
|
|
1 members found this post helpful.
|
07-05-2017, 03:55 PM
|
#42
|
Member
Registered: Mar 2016
Posts: 94
Original Poster
Rep:
|
ok sir thanks for everything. i will run that commands
Quote:
apt-get update && upgrade
|
twice a month right?
|
|
|
07-05-2017, 03:57 PM
|
#43
|
LQ Guru
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
|
Quote:
Originally Posted by erik2282
reboot just in case and then run apt-get update && upgrade one more time..
|
apt-get update && apt-get upgrade
|
|
2 members found this post helpful.
|
07-05-2017, 04:00 PM
|
#44
|
Member
Registered: May 2011
Location: Texas
Distribution: Debian/Ubuntu,CentOS
Posts: 848
|
Quote:
Originally Posted by THE PHANTOM
also i have one question: what should i do most that my system keep always updated? what commands or methods u advice me sir? Thanks for help and yout time and sorry for disturbing u.
|
On my KDE desktop there is a system notification on my system tray that alerts me when there are updates and usually let that utility run and update my system. I'm not sure what its called but it works great. I have a debian jessie machine at work with Mate desktop and that auto-check utility is not there, well maybe i just need to install it, but I dont care. I just manually run the update/upgrade commands every couple weeks. Im sure you can make a cron job to do this as well.
|
|
1 members found this post helpful.
|
07-05-2017, 04:01 PM
|
#45
|
Member
Registered: May 2011
Location: Texas
Distribution: Debian/Ubuntu,CentOS
Posts: 848
|
Quote:
Originally Posted by hydrurga
apt-get update && apt-get upgrade
|
Thanks
|
|
|
All times are GMT -5. The time now is 03:31 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|