LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-12-2020, 11:01 AM   #1
christy07
LQ Newbie
 
Registered: Feb 2020
Posts: 3

Rep: Reputation: Disabled
Question Help Me!!


(disclaimer: my first language is not English, so sorry if I make mistakes)
An IT put Linux on my laptop and it was working alright for months, but for around 4-5 weeks ago it didn't update anything even if it says "32 updates available" I click on "install" and than it says some of them are not verified. I can "cancel" it or click on "apply" I choose apply and it says that "not every update was installed" and in the details part it says
c”: Output/Input error
E: Sub-process /usr/bin/dpkg returned an error code (2)

I have tried to use the terminal code:
sudo apt-get upgrade
but the same thing happens.

What can I do?
 
Old 02-12-2020, 11:14 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 18,383

Rep: Reputation: 6233Reputation: 6233Reputation: 6233Reputation: 6233Reputation: 6233Reputation: 6233Reputation: 6233Reputation: 6233Reputation: 6233Reputation: 6233Reputation: 6233
0. Welcome here

1. please give a better title.
2. please specify your OS exactly (including name, version)
3. please post the full output (what did you entered, what was the response exactly), not only a few lines.
 
1 members found this post helpful.
Old 02-12-2020, 11:21 AM   #3
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,592
Blog Entries: 13

Rep: Reputation: 4679Reputation: 4679Reputation: 4679Reputation: 4679Reputation: 4679Reputation: 4679Reputation: 4679Reputation: 4679Reputation: 4679Reputation: 4679Reputation: 4679
Quote:
Originally Posted by christy07 View Post
(disclaimer: my first language is not English, so sorry if I make mistakes)
An IT put Linux on my laptop and it was working alright for months
What can I do?
Welcome to LQ and I find pan64's response exactly one path you should follow, for LQ that is.

Have you considered asking the IT person who installed Linux for you, for assistance?
 
Old 02-12-2020, 11:25 AM   #4
christy07
LQ Newbie
 
Registered: Feb 2020
Posts: 3

Original Poster
Rep: Reputation: Disabled
My OS is Linux Mint 18.3 Sylvia
I can post what it says but it's in Hungarian, here it is:
sudo apt-get upgrade
[sudo] christy jelszava:
Csomaglisták olvasása... Kész
Függőségi fa építése
Állapotinformációk olvasása... Kész
Frissítés kiszámítása... Kész
Az alábbi csomagok frissítve lesznek:
adobe-flashplugin aptdaemon aptdaemon-data bsdutils chromium-browser
chromium-browser-l10n chromium-codecs-ffmpeg-extra e2fslibs e2fsprogs
firefox-locale-en firefox-locale-hu libblkid1 libbsd0 libbsd0:i386
libcomerr2 libcomerr2:i386 libexif12 libexif12:i386 libexiv2-14 libfdisk1
libfftw3-double3 libfftw3-single3 libgcrypt20 libgcrypt20:i386
libgnutls-openssl27 libgnutls30 libgnutls30:i386 libmount1 libnss3
libnss3-1d libnss3-nssdb libpam-systemd libqt5core5a libqt5dbus5 libqt5gui5
libqt5libqgtk2 libqt5network5 libqt5opengl5 libqt5printsupport5 libqt5sql5
libqt5sql5-sqlite libqt5widgets5 libqt5xml5 libsasl2-2 libsasl2-2:i386
libsasl2-modules libsasl2-modules-db libsasl2-modules-db:i386
libsdl-image1.2 libservlet3.1-java libsmartcols1 libsmbclient libss2
libsystemd0 libsystemd0:i386 libudev1 libudev1:i386 libuuid1 libwbclient0
libxml2 libxml2:i386 libxml2-utils linux-libc-dev mount ntp ntpdate pix
pix-data pix-dbg python-apt python-apt-common python-aptdaemon
python-aptdaemon.gtk3widgets python-imaging python-libxml2 python-pil
python-renderpm python-reportlab python-reportlab-accel python3-apt
python3-aptdaemon python3-aptdaemon.gtk3widgets python3-aptdaemon.pkcompat
python3-pil python3-reportlab python3-reportlab-accel samba-common
samba-libs skypeforlinux smbclient sudo systemd systemd-sysv tcpdump udev
util-linux uuid-runtime wine-devel wine-devel-amd64 wine-devel-i386:i386
winehq-devel zlib1g zlib1g:i386
103 frissített, 0 újonnan telepített, 0 eltávolítandó és 0 nem frissített.
Letöltendő adatmennyiség: 0 B/340 MB.
A művelet után 31,8 MB lemezterület kerül felhasználásra.
Folytatni akarja? [I/n] i
FIGYELMEZTETÉS: Az alábbi csomagok nem hitelesíthetők!
winehq-devel wine-devel wine-devel-i386:i386 wine-devel-amd64
Valóban ellenőrzés nélkül telepíti a csomagokat? [i/N] i
Sablonok kicsomagolása a csomagokból: 100%
Csomagok előkonfigurálása ...
dpkg: helyreállíthatatlan végzetes hiba, megszakítás:
fájllista olvasása a következő csomaghoz: „linux-modules-extra-4.15.0-30-generic”: Kimeneti/bemeneti hiba
E: Sub-process /usr/bin/dpkg returned an error code (2)
 
Old 02-12-2020, 11:28 AM   #5
christy07
LQ Newbie
 
Registered: Feb 2020
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rtmistler View Post
Welcome to LQ and I find pan64's response exactly one path you should follow, for LQ that is.

Have you considered asking the IT person who installed Linux for you, for assistance?
I have called him. He said he can help in a few hours.
(I have work to do duo to Friday night, and I can't download the program I need because it gives the same error.)
 
Old 02-12-2020, 11:33 AM   #6
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 18,383

Rep: Reputation: 6233Reputation: 6233Reputation: 6233Reputation: 6233Reputation: 6233Reputation: 6233Reputation: 6233Reputation: 6233Reputation: 6233Reputation: 6233Reputation: 6233
You are lucky, I understand that. But I would say better to contact the mentioned person. From here it looks like it is a strange error (like disk full or filesystem corruption or RAM or ???). We need more info to analyze it, probably you can find something related in /var/log
 
1 members found this post helpful.
Old 02-12-2020, 03:21 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,413

Rep: Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489
The solution would usually start with clearing apt and dkpg then maybe move file or at least simply update based on list till you get to the remaining file problem.

Your command tells it to do everything as in update all.
 
Old 02-12-2020, 08:28 PM   #8
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Based on your error message; I suspect filesystem problems, and/or possibly drive problems.

Try doing a filesystem check first, and also run the following command to check for any drive problems;

Code:
sudo smartctl -a /dev/sdX
Replace "sdX" with the correct device node. (And post the output of the above command using CODE tags)
 
Old 02-12-2020, 11:20 PM   #9
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,592
Blog Entries: 13

Rep: Reputation: 4679Reputation: 4679Reputation: 4679Reputation: 4679Reputation: 4679Reputation: 4679Reputation: 4679Reputation: 4679Reputation: 4679Reputation: 4679Reputation: 4679
The error is a non-recoverable error in dpkg.

The system is not out of space that I can see.

Why exactly are people concluding that the disk is full?

I get a clean translate of that and see nothing about disk space.

The logs showing 31Mb and 100% are not saying the disk is full.

31Mb was used by the update process and that's very normal when you install new packages.

100% is a progress indicator saying that one action is done.

An error with dpkg could be related to the package it is naming: linux-modules-extra-4.15.0-30-generic

I'm no package manager expert but I'd search for solutions related to fatal dpkg errors.

Some solutions suggest using autoclean.
 
Old 02-12-2020, 11:48 PM   #10
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by rtmistler View Post
The error is a non-recoverable error in dpkg.
...
The error message I was referring to was the "Output/Input error" message, which would indicate that the package cannot be installed because of a problem with the filesystem and/or drive itself.

I'd suggest you re-read the OP, as that clearly states two error messages, and the second message you're referring to is a result of the error I mentioned above.
 
Old 02-13-2020, 03:01 PM   #11
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,413

Rep: Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489
Maybe /boot full on that issue? Too many old kernels.

Other issues can be updated by groups or names.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
help :(install sudo apt-get install synaptic problem help me dear :( help me help me zeeshanayub Linux - Newbie 3 10-21-2014 07:02 PM
Help, help help help help drknownothing Linux - Networking 2 10-24-2004 03:05 AM
help, help, help, help, help....cmi8738 will not work... AMArt79196 Red Hat 2 07-05-2004 06:13 PM
Help Help Help, eh.. Help. Pwcca Slackware 7 02-26-2003 11:04 PM

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

All times are GMT -5. The time now is 11:07 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