Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xbps-install: download-only misleading information and explanation. #489

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zlice
Copy link

@zlice zlice commented May 4, 2022

close / see #341

about

xbps-install has a -D / --download-only flag that behaves as expected but provides misleading information when ran and in the man page.

question (done)

Should the total configured be skipped for download-only too?

} else if (ttype == XBPS_TRANS_CONFIGURE) {
      cf_pkgcnt++;

old

xbps-install -D icu-libs

Name            Action    Version           New version            Download size
glibc           download  -                 2.32_2                 8586KB 
libcrypto1.1    download  -                 1.1.1n_1               1296KB 
libssl1.1       download  -                 1.1.1n_1               227KB 
openssl         download  -                 1.1.1n_1               437KB 
run-parts       download  -                 4.11.2_1               11KB 
ca-certificates download  -                 20211016+3.77_1        146KB 
xbps-triggers   download  -                 0.121_1                10KB 
zlib            download  -                 1.2.12_2               53KB 
acl             download  -                 2.3.1_1                16KB 
liblzma         download  -                 5.2.5_2                83KB 
libzstd         download  -                 1.5.2_1                296KB 
liblz4          download  -                 1.9.3_1                63KB 
bzip2           download  -                 1.0.8_1                50KB 
libarchive      download  -                 3.6.0_1                354KB 
libxbps         download  -                 0.59.1_5               138KB 
xbps            install   -                 0.59.1_5               109KB 
libgcc          download  -                 10.2.1pre1_3           50KB 
libstdc++       download  -                 10.2.1pre1_3           630KB 
icu-libs        install   -                 70.1_1                 11MB 

Size to download:               24MB
Space available on disk:      1072GB


19 downloaded, 2 installed, 0 updated, 2 configured, 0 removed.

new (this commit/branch)

xbps-install -D icu-libs

Name            Action    Version           New version            Download size
glibc           download  -                 2.32_2                 8586KB 
libcrypto1.1    download  -                 1.1.1n_1               1296KB 
libssl1.1       download  -                 1.1.1n_1               227KB 
openssl         download  -                 1.1.1n_1               437KB 
run-parts       download  -                 4.11.2_1               11KB 
ca-certificates download  -                 20211016+3.77_1        146KB 
xbps-triggers   download  -                 0.121_1                10KB 
zlib            download  -                 1.2.12_2               53KB 
acl             download  -                 2.3.1_1                16KB 
liblzma         download  -                 5.2.5_2                83KB 
libzstd         download  -                 1.5.2_1                296KB 
liblz4          download  -                 1.9.3_1                63KB 
bzip2           download  -                 1.0.8_1                50KB 
libarchive      download  -                 3.6.0_1                354KB 
libxbps         download  -                 0.59.1_5               138KB 
xbps            download  -                 0.59.1_5               109KB 
libgcc          download  -                 10.2.1pre1_3           50KB 
libstdc++       download  -                 10.2.1pre1_3           630KB 
icu-libs        download  -                 70.1_1                 11MB 

Size to download:               24MB
Space available on disk:      1072GB


19 downloaded, 0 installed, 0 updated, 2 configured, 0 removed.

@ayoubelmhamdi
Copy link

i think so

@zlice zlice force-pushed the download_only_misleading branch from d75c804 to b354c93 Compare May 18, 2022 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants