Welcome!
Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.2 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

<SOLVED> "error" message when installing via MXPI

philotux
Forum Regular
Forum Regular
Posts: 425
Joined: Sun Apr 22, 2018 12:57 pm

<SOLVED> "error" message when installing via MXPI

#1

Post by philotux » Mon Feb 11, 2019 10:02 am

When I install a package from MXPI I get the following message:

Code: Select all

Unable to get Terminal Size. The TIOCGWINSZ ioctl didn't work. The COLUMNS and LINES environment variables didn't work. The resize program didn't work. The stty program didn't work. at /usr/share/perl5/NeedRestart/UI.pm line 50.
It doesn't look like an error but this never happened before, it just started today. Can I do something about it to make it go away?
Last edited by philotux on Mon Feb 11, 2019 4:25 pm, edited 1 time in total.

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 11061
Joined: Sun Dec 16, 2007 1:17 pm

Re: "error" message when installing via MXPI

#2

Post by dolphin_oracle » Mon Feb 11, 2019 11:30 am

what application were you trying to install?
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-18
lenovo s21e - MX-18, antiX-17.3.1 (live-USB)
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Richard
Posts: 2601
Joined: Fri Dec 12, 2008 10:31 am

Re: "error" message when installing via MXPI

#3

Post by Richard » Mon Feb 11, 2019 11:51 am

@philotux,

Please post the Quick-System-Info to aid in spelunking your problem.
Thanks.
Laptop: MX18.1: Thinkpad T430: DualCore, Intel i5-3320M, Ivy Bridge, 8GB RAM, 4.19.0-1-amd64, 119GB SSD 840PRO, Intel Graphics-Audio-Network
Netbook: MX18.1, antiX17.3: AsusTek EeePC 1005HA: Intel DualCore Atom N270, 1GB RAM, 4.19.0-1-686, 150GB HDD

philotux
Forum Regular
Forum Regular
Posts: 425
Joined: Sun Apr 22, 2018 12:57 pm

Re: "error" message when installing via MXPI

#4

Post by philotux » Mon Feb 11, 2019 11:57 am

dolphin_oracle wrote:
Mon Feb 11, 2019 11:30 am
what application were you trying to install?
iridium-browser, pithos from main
featherpad upgraded to test repo version

philotux
Forum Regular
Forum Regular
Posts: 425
Joined: Sun Apr 22, 2018 12:57 pm

Re: "error" message when installing via MXPI

#5

Post by philotux » Mon Feb 11, 2019 12:00 pm

Richard wrote:
Mon Feb 11, 2019 11:51 am
@philotux,

Please post the Quick-System-Info to aid in spelunking your problem.
Thanks.
Sure, here it is:

Code: Select all

System:
  Host: mx18-test Kernel: 4.19.0-2-amd64 x86_64 bits: 64 compiler: gcc v: 6.3.0 
  Desktop: Xfce 4.12.3 tk: Gtk 2.24.31 wm: xfwm4 dm: LightDM 
  Distro: MX-18.1_x64 Continuum Dec 20  2018 base: Debian GNU/Linux 9 (stretch) 
Machine:
  Type: Desktop System: LENOVO product: 90FC004TMT v: ideacentre 610S-02ISH 
  serial: <filter> Chassis: type: 3 serial: <filter> 
  Mobo: LENOVO model: 3649 v: SDK0J40700 WIN 3258066028273 serial: <filter> 
  UEFI: LENOVO v: O2CKT30AUS date: 07/17/2018 
CPU:
  Topology: Quad Core model: Intel Core i5-6400T bits: 64 type: MCP arch: Skylake-S 
  rev: 3 L2 cache: 6144 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 17664 
  Speed: 1114 MHz min/max: 800/2800 MHz Core speeds (MHz): 1: 1114 2: 952 3: 1054 
  4: 991 
Graphics:
  Device-1: Intel HD Graphics 530 vendor: Lenovo driver: i915 v: kernel 
  bus ID: 00:02.0 chip ID: 8086:1912 
  Display: x11 server: X.Org 1.19.2 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 530 (Skylake GT2) v: 4.5 Mesa 18.2.6 
  compat-v: 3.0 direct render: Yes 
Audio:
  Device-1: Intel Sunrise Point-H HD Audio vendor: Lenovo driver: snd_hda_intel 
  v: kernel bus ID: 00:1f.3 chip ID: 8086:a170 
  Sound Server: ALSA v: k4.19.0-2-amd64 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo 
  driver: r8169 v: kernel port: e000 bus ID: 01:00.0 chip ID: 10ec:8168 
  IF: eth0 state: down mac: <filter> 
  Device-2: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter vendor: Lenovo 
  driver: ath10k_pci v: kernel port: e000 bus ID: 02:00.0 chip ID: 168c:003e 
  IF: wlan0 state: down mac: <filter> 
  Device-3: Atheros type: USB driver: btusb bus ID: 1-9:6 chip ID: 0cf3:e300 
  IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A 
  IF-ID-2: usb0 state: unknown speed: N/A duplex: N/A mac: <filter> 
Drives:
  Local Storage: total: 344.68 GiB used: 59.43 GiB (17.2%) 
  ID-1: /dev/sda vendor: Samsung model: SSD 860 EVO 250GB size: 232.89 GiB 
  speed: 3.0 Gb/s serial: <filter> 
  ID-2: /dev/sdb type: USB vendor: Kingston model: SV300S37A120G size: 111.79 GiB 
  serial: <filter> 
Partition:
  ID-1: / size: 24.54 GiB used: 8.53 GiB (34.7%) fs: ext4 dev: /dev/sda8 
  ID-2: /home size: 14.70 GiB used: 2.67 GiB (18.2%) fs: ext4 dev: /dev/sda9 
Sensors:
  System Temperatures: cpu: 32.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Repos:
  Active apt repos in: /etc/apt/sources.list.d/antix.list 
  1: deb http://nl.mxrepo.com/antix/stretch/ stretch main
  No active apt repos in: /etc/apt/sources.list.d/brave-browser-release-stretch.list 
  Active apt repos in: /etc/apt/sources.list.d/cliqz.list 
  1: deb http://repository.cliqz.com/dist/debian-release/ stable main
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
  1: deb http://ftp.nl.debian.org/debian/ stretch-updates main contrib non-free
  Active apt repos in: /etc/apt/sources.list.d/debian.list 
  1: deb http://ftp.nl.debian.org/debian/ stretch main contrib non-free
  2: deb http://security.debian.org/ stretch/updates main contrib non-free
  Active apt repos in: /etc/apt/sources.list.d/google-musicmanager.list 
  1: deb [arch=amd64] http://dl.google.com/linux/musicmanager/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/mx.list 
  1: deb http://nl.mxrepo.com/mx/repo/ stretch main non-free
  No active apt repos in: /etc/apt/sources.list.d/various.list 
Info:
  Processes: 246 Uptime: 6h 34m Memory: 7.70 GiB used: 1.88 GiB (24.4%) Init: SysVinit 
  v: 2.88 runlevel: 5 default: 5 Compilers: gcc: 6.3.0 alt: 6 Shell: bash v: 4.4.12 
  running in: xfce4-terminal inxi: 3.0.29 

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 11061
Joined: Sun Dec 16, 2007 1:17 pm

Re: "error" message when installing via MXPI

#6

Post by dolphin_oracle » Mon Feb 11, 2019 1:13 pm

I cannot duplicate this error with that installation set.
however, research says this is an "apt" error, so do you get the same error when installing from the commandline.

let's pick something small and simple, like leafpad.

Code: Select all

sudo apt-get install leafpad
and see if the same error message comes up.

*notes* there is some discussion that this may be related to having "unattended-upgrades" enabled as well.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-18
lenovo s21e - MX-18, antiX-17.3.1 (live-USB)
FYI: mx "test" repo is not the same thing as debian testing repo.

philotux
Forum Regular
Forum Regular
Posts: 425
Joined: Sun Apr 22, 2018 12:57 pm

Re: "error" message when installing via MXPI

#7

Post by philotux » Mon Feb 11, 2019 1:47 pm

dolphin_oracle wrote:
Mon Feb 11, 2019 1:13 pm
I cannot duplicate this error with that installation set.
however, research says this is an "apt" error, so do you get the same error when installing from the commandline.

let's pick something small and simple, like leafpad.

Code: Select all

sudo apt-get install leafpad
and see if the same error message comes up.

*notes* there is some discussion that this may be related to having "unattended-upgrades" enabled as well.
Thanks for the reply d_o!

No, the terminal output seems to be ok. Regarding "unattended-upgrades", I don't think I even now how to enable that. Here is the output from terminal:

Code: Select all

sudo apt-get install leafpad
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  evince-gtk
The following NEW packages will be installed:
  leafpad
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/90.9 kB of archives.
After this operation, 465 kB of additional disk space will be used.
Selecting previously unselected package leafpad.
(Reading database ... 371101 files and directories currently installed.)
Preparing to unpack .../leafpad_0.8.18.1-5_amd64.deb ...
Unpacking leafpad (0.8.18.1-5) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for desktop-file-utils (0.23-1) ...
Setting up leafpad (0.8.18.1-5) ...
update-alternatives: using /usr/bin/leafpad to provide /usr/bin/gnome-text-editor (gnome-text-editor) in auto mode
Processing triggers for bamfdaemon (0.5.3-2) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for gnome-menus (3.13.3-9) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Scanning processes...                                                                                               
Scanning linux images...                                                                                            
Running kernel seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 11061
Joined: Sun Dec 16, 2007 1:17 pm

Re: "error" message when installing via MXPI

#8

Post by dolphin_oracle » Mon Feb 11, 2019 2:02 pm

do you know what package generates these messages:

Code: Select all

Processing triggers for bamfdaemon (0.5.3-2) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for gnome-menus (3.13.3-9) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Scanning processes...                                                                                               
Scanning linux images...                                                                                            
Running kernel seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
also, you gtk version seems too high for debian stretch.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-18
lenovo s21e - MX-18, antiX-17.3.1 (live-USB)
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 18731
Joined: Fri Dec 15, 2006 8:07 pm

Re: "error" message when installing via MXPI

#9

Post by Stevo » Mon Feb 11, 2019 3:48 pm

2.24.31 is the correct GTK+ 2 version used by XFCE in Stretch.

User avatar
timkb4cq
Forum Veteran
Forum Veteran
Posts: 4809
Joined: Wed Jul 12, 2006 4:05 pm

Re: "error" message when installing via MXPI

#10

Post by timkb4cq » Mon Feb 11, 2019 3:55 pm

The needrestart package which is throwing the error has been updated in backports. I would try using MXPI to install it from backports to see if it corrects the issue.
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

Post Reply

Return to “Software / Configuration”