buster finishing installation takes long

Help with issues regarding installation of Debian

buster finishing installation takes long

Postby Chrisdb » 2019-08-04 20:00

hello,

When I try to install Debian Buster, everything is going nice just up until the installer finishes.
I get the following message:
Code: Select all
Running remove live packages..


This operations takes about 8 min.
Is it normal it takes so long? Is there anything I can do to speed this up?

thx
User avatar
Chrisdb
 
Posts: 57
Joined: 2018-04-10 07:16

Re: buster finishing installation takes long

Postby kedaha » 2019-08-04 20:22

Hi,
Presumably it would speed it up to use an official Debian installation image rather than a live install image but since installation is usually a one-off job what does it matter?
Mate DE & OSSv4.
FreedomBox in Debian
ispmail
Debian Stable

Words, as is well known, are the great foes of reality. Joseph Conrad.
Kedaha's Conjecture
User avatar
kedaha
 
Posts: 3017
Joined: 2008-05-24 12:26

Re: buster finishing installation takes long

Postby phenest » 2019-08-04 20:39

kedaha wrote:Presumably it would speed it up to use an official Debian installation image rather than a live install

Debian does have official live installer images.

Chrisdb wrote:This operations takes about 8 min.

But what about installing from a non-live installer? Does that take as long?
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D
User avatar
phenest
 
Posts: 1704
Joined: 2010-03-09 09:38
Location: The Matrix

Re: buster finishing installation takes long

Postby emariz » 2019-08-04 21:10

Unfortunately, we need more information to give you a more useful answer. For example, the live installer might have halted at that step (whether or not it finished the task), or the live installer might (wrongly) show that message while it was actually doing another lengthier task.

As it has already been mentioned, it would not hurt to try a non-live installer.
emariz
 
Posts: 2916
Joined: 2008-10-17 07:59

Re: buster finishing installation takes long

Postby Chrisdb » 2019-08-11 13:11

I just installed my system with the non-live installer, but the whole installation process took a lot longer now :shock:
With the live installer it took about 20 minutes (the 8 minute problem included), but now it took almost an hour to complete...

And in addition to that, the linux-firmware package was not installed, so I had to install it manually (this wasn't the case with the live installer)

Note: after the live installer I needed to upgrade all packages and this took a lot of time :D
It also seems the non-live installer installs much more packages...
But still, is 1 hour normal to install Debian Buster?
User avatar
Chrisdb
 
Posts: 57
Joined: 2018-04-10 07:16

Re: buster finishing installation takes long

Postby phenest » 2019-08-11 14:42

Could there be something wrong with your hard drive? Might be worth checking to eliminate possibilities.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D
User avatar
phenest
 
Posts: 1704
Joined: 2010-03-09 09:38
Location: The Matrix

Re: buster finishing installation takes long

Postby Chrisdb » 2019-08-11 14:58

phenest wrote:Could there be something wrong with your hard drive? Might be worth checking to eliminate possibilities.


Output from smartctl:
Code: Select all
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.19.0-5-amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     ST1000LM035-1RK172
Serial Number:    WDEJ3SEK
LU WWN Device Id: 5 000c50 0ab064c0e
Firmware Version: LVM2
User Capacity:    1,000,204,886,016 bytes [1.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Form Factor:      2.5 inches
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   ACS-3 T13/2161-D revision 3b
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Sun Aug 11 17:44:06 2019 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00)   Offline data collection activity
               was never started.
               Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0)   The previous self-test routine completed
               without error or no self-test has ever
               been run.
Total time to complete Offline
data collection:       (    0) seconds.
Offline data collection
capabilities:           (0x71) SMART execute Offline immediate.
               No Auto Offline data collection support.
               Suspend Offline collection upon new
               command.
               No Offline surface scan supported.
               Self-test supported.
               Conveyance Self-test supported.
               Selective Self-test supported.
SMART capabilities:            (0x0003)   Saves SMART data before entering
               power-saving mode.
               Supports SMART auto save timer.
Error logging capability:        (0x01)   Error logging supported.
               General Purpose Logging supported.
Short self-test routine
recommended polling time:     (   1) minutes.
Extended self-test routine
recommended polling time:     ( 160) minutes.
Conveyance self-test routine
recommended polling time:     (   2) minutes.
SCT capabilities:           (0x3035)   SCT Status supported.
               SCT Feature Control supported.
               SCT Data Table supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   081   064   034    Pre-fail  Always       -       129064752
  3 Spin_Up_Time            0x0003   099   099   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       498
  5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   073   060   045    Pre-fail  Always       -       19766313
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       261 (167 79 0)
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       416
184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
188 Command_Timeout         0x0032   100   100   000    Old_age   Always       -       1
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   068   052   040    Old_age   Always       -       32 (Min/Max 26/32)
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       6
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       11
193 Load_Cycle_Count        0x0032   096   096   000    Old_age   Always       -       8871
194 Temperature_Celsius     0x0022   032   048   000    Old_age   Always       -       32 (0 19 0 0 0)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
240 Head_Flying_Hours       0x000f   100   100   030    Pre-fail  Always       -       226 (121 254 0)
254 Free_Fall_Sensor        0x0032   100   100   000    Old_age   Always       -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.



I don't see any errors....
User avatar
Chrisdb
 
Posts: 57
Joined: 2018-04-10 07:16

Re: buster finishing installation takes long

Postby phenest » 2019-08-11 15:35

Chrisdb wrote:I just installed my system with the non-live installer, but the whole installation process took a lot longer now :shock:
With the live installer it took about 20 minutes (the 8 minute problem included), but now it took almost an hour to complete...

Was there any particular part of the non-live installation that took longer than expected?
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D
User avatar
phenest
 
Posts: 1704
Joined: 2010-03-09 09:38
Location: The Matrix

Re: buster finishing installation takes long

Postby Chrisdb » 2019-08-11 18:28

phenest wrote:
Chrisdb wrote:I just installed my system with the non-live installer, but the whole installation process took a lot longer now :shock:
With the live installer it took about 20 minutes (the 8 minute problem included), but now it took almost an hour to complete...

Was there any particular part of the non-live installation that took longer than expected?


The overall installation of packages...
The installation of the base system takes long + desktop environment
User avatar
Chrisdb
 
Posts: 57
Joined: 2018-04-10 07:16

Re: buster finishing installation takes long

Postby phenest » 2019-08-11 19:44

I suppose installing a full DE can take extra time. Personally, I only install the base system, and then install the DE separately (Gnome in my case) so I can have a more streamlined system with less GUI software installed.

But even then, an hour seems excessive. It took me less than half an hour on an ASUS tablet that uses an SD card for storage. Unless you have a slow computer or maybe a slow optical drive.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D
User avatar
phenest
 
Posts: 1704
Joined: 2010-03-09 09:38
Location: The Matrix

Re: buster finishing installation takes long

Postby Chrisdb » 2019-08-12 04:40

phenest wrote:I suppose installing a full DE can take extra time. Personally, I only install the base system, and then install the DE separately (Gnome in my case) so I can have a more streamlined system with less GUI software installed.

But even then, an hour seems excessive. It took me less than half an hour on an ASUS tablet that uses an SD card for storage. Unless you have a slow computer or maybe a slow optical drive.


I don't think there's anything wrong with my hardware, unless it's because I have a HD instead of a SSD?

From what I can tell, the unpacking/installation process per package was not really fast...

Anyway, here's some extra info:

lscpu
Code: Select all
Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
Address sizes:       48 bits physical, 48 bits virtual
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  2
Core(s) per socket:  2
Socket(s):           1
NUMA node(s):        1
Vendor ID:           AuthenticAMD
CPU family:          21
Model:               101
Model name:          AMD A10-9620P RADEON R5, 10 COMPUTE CORES 4C+6G
Stepping:            1
CPU MHz:             1832.483
CPU max MHz:         2500.0000
CPU min MHz:         1300.0000
BogoMIPS:            4992.59
Virtualization:      AMD-V
L1d cache:           32K
L1i cache:           96K
L2 cache:            1024K
NUMA node0 CPU(s):   0-3
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good acc_power nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm topoext perfctr_core perfctr_nb bpext ptsc mwaitx cpb hw_pstate ssbd vmmcall fsgsbase bmi1 avx2 smep bmi2 xsaveopt arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov


free
Code: Select all
              total        used        free      shared  buff/cache   available
Mem:       11730904      608348    10801300       12484      321256    10860492
Swap:      12582908           0    12582908


hwinfo (hdd disk)
Code: Select all
26: IDE 00.0: 10600 Disk                                       
  [Created at block.245]
  Unique ID: 3OOL.Kux5+lvq5q6
  Parent ID: 7EWs.gsV4zi0JpY2
  SysFS ID: /class/block/sda
  SysFS BusID: 0:0:0:0
  SysFS Device Link: /devices/pci0000:00/0000:00:11.0/ata1/host0/target0:0:0/0:0:0:0
  Hardware Class: disk
  Model: "ST1000LM035-1RK1"
  Device: "ST1000LM035-1RK1"
  Revision: "LVM2"
  Driver: "ahci", "sd"
  Driver Modules: "ahci", "sd_mod"
  Device File: /dev/sda
  Device Files: /dev/sda, /dev/disk/by-id/ata-ST1000LM035-1RK172_WDEJ3SEK, /dev/disk/by-path/pci-0000:00:11.0-ata-1, /dev/disk/by-id/wwn-0x5000c500ab064c0e
  Device Number: block 8:0-8:15
  BIOS id: 0x80
  Drive status: no medium
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #22 (SATA controller)
User avatar
Chrisdb
 
Posts: 57
Joined: 2018-04-10 07:16

Re: buster finishing installation takes long

Postby phenest » 2019-08-13 06:51

Given that you only install an OS once, now it's installed, does it work ok? Or is that slow too?
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D
User avatar
phenest
 
Posts: 1704
Joined: 2010-03-09 09:38
Location: The Matrix

Re: buster finishing installation takes long

Postby kedaha » 2019-08-14 08:44

Chrisdb wrote:When I try to install Debian Buster, everything is going nice just up until the installer finishes.
I get the following message:
Code: Select all
Running remove live packages..


This operations takes about 8 min.
Is it normal it takes so long? Is there anything I can do to speed this up?

During those long 8 minutes a good idea is to have a beer or something. A beer hits the spot. Solved. :wink:
Mate DE & OSSv4.
FreedomBox in Debian
ispmail
Debian Stable

Words, as is well known, are the great foes of reality. Joseph Conrad.
Kedaha's Conjecture
User avatar
kedaha
 
Posts: 3017
Joined: 2008-05-24 12:26

Re: buster finishing installation takes long

Postby Chrisdb » 2019-08-15 19:12

phenest wrote:Given that you only install an OS once, now it's installed, does it work ok? Or is that slow too?


I installed a fresh package and here's the time result:
Code: Select all
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  darkmint-gtk-theme
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 121 kB of archives.
After this operation, 798 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main amd64 darkmint-gtk-theme all 2.0.0-2 [121 kB]
Fetched 121 kB in 1s (203 kB/s)       
Selecting previously unselected package darkmint-gtk-theme.
(Reading database ... 177274 files and directories currently installed.)
Preparing to unpack .../darkmint-gtk-theme_2.0.0-2_all.deb ...
Unpacking darkmint-gtk-theme (2.0.0-2) ...
Setting up darkmint-gtk-theme (2.0.0-2) ...

real   0m13.206s
user   0m1.963s
sys   0m0.832s


Extra info from hdparm:
Code: Select all
/dev/sda:
 Timing cached reads:   4866 MB in  2.00 seconds = 2436.28 MB/sec
 Timing buffered disk reads: 384 MB in  3.02 seconds = 127.34 MB/sec
User avatar
Chrisdb
 
Posts: 57
Joined: 2018-04-10 07:16

Re: buster finishing installation takes long

Postby phenest » 2019-08-15 19:28

Interesting. I installed the same package and got this:
Code: Select all
real   0m2.417s
user   0m0.751s
sys   0m0.266s

... but I do have a solid state drive. So I tried it on my Asus tablet which only has an SD card and got this:
Code: Select all
real   0m6.323s
user   0m3.251s
sys   0m0.994s


What about reading from the HDD? Is access times slow too? Slow boot as well? Does/did Windows run ok?
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D
User avatar
phenest
 
Posts: 1704
Joined: 2010-03-09 09:38
Location: The Matrix

Next

Return to Installation

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable