LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 04-29-2017, 04:15 PM   #1
SifuMaster
LQ Newbie
 
Registered: Apr 2017
Posts: 2

Rep: Reputation: Disabled
Problem when trying to update and upgrade


When i try to update and upgrade via terminal i got the following output with all these similar warnings and errors at the end.Is there anything i can do to fix it?Thanks

http://paste.ubuntu.com/24481745/
 
Old 04-30-2017, 04:18 AM   #3
SifuMaster
LQ Newbie
 
Registered: Apr 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
I figured out i got no folder named dpkg. I must have deleted it. Dont know if this helps. I tried to do this https://askubuntu.com/questions/3833...dpkg-directory , but it doesnt work for me, because i get the following output

Code:

$ apt-get download dpkg
Err:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 dpkg amd64 1.18.4ubuntu1.2
Could not open file /usr/bin/dpkg_1.18.4ubuntu1.2_amd64.deb - open (13: Permission denied) [IP: 91.189.88.152 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/poo...u1.2_amd64.deb Could not open file /usr/bin/dpkg_1.18.4ubuntu1.2_amd64.deb - open (13: Permission denied) [IP: 91.189.88.152 80]
 
Old 04-30-2017, 01:08 PM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by SifuMaster View Post
I figured out i got no folder named dpkg. I must have deleted it. Dont know if this helps. I tried to do this https://askubuntu.com/questions/3833...dpkg-directory , but it doesnt work for me, because i get the following output

Code:

$ apt-get download dpkg
Err:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 dpkg amd64 1.18.4ubuntu1.2
Could not open file /usr/bin/dpkg_1.18.4ubuntu1.2_amd64.deb - open (13: Permission denied) [IP: 91.189.88.152 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/poo...u1.2_amd64.deb Could not open file /usr/bin/dpkg_1.18.4ubuntu1.2_amd64.deb - open (13: Permission denied) [IP: 91.189.88.152 80]
your link is broken.
i don't know what you did.
anyhow, don't just link to some askubuntu article, but SHOW us what you did, step by step.

what you did show suggests that
- you downloaded the package without superuser privileges, which i think is correct in this situation
- you are in the /usr/bin directory, for some reason (why?), for which you con't have write permission.

so just try again, but this time enter
Code:
cd "$HOME"
before you issue that command.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem after running update and upgrade satimis Ubuntu 2 12-07-2013 01:12 AM
Problem after running update and upgrade satimis Ubuntu 11 10-09-2012 12:11 AM
apt-get dist-upgrade problem after crash (during first update) twinkers Debian 4 11-17-2005 10:49 AM
Apt-get update problem after upgrade and others satimis Fedora 0 07-26-2004 05:50 AM
RH6.1->RH7.2 Upgrade DNS Update Problem Grum Linux - Networking 0 05-13-2002 06:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration