mirror of
https://git.launchpad.net/~ubuntu-qt-code/+git/calamares-settings-ubuntu
synced 2025-03-03 23:31:08 +00:00
Fix apt install functionality in pkgselectprocess.
This commit is contained in:
parent
0908c29cfb
commit
0fc038aea9
@ -289,10 +289,10 @@ Calamares::JobResult PackageSelectProcess::exec()
|
||||
qDebug() << "Progress range: installStart:" << installStart << "installEnd:" << installEnd;
|
||||
|
||||
if (!debPackages.isEmpty()) {
|
||||
const QString packageList = debPackages.join(" -e ");
|
||||
const QString packageList = debPackages.join(" ");
|
||||
const QString installCommand = QString(
|
||||
"DEBIAN_FRONTEND=noninteractive apt-get -y install $(apt-cache --no-generate pkgnames %1 | grep -Fx -e %2)"
|
||||
).arg(debPackages.join(" ")).arg(packageList);
|
||||
"DEBIAN_FRONTEND=noninteractive apt-get -y install $(for pkg in %1; do dpkg -s \"$pkg\" &>/dev/null || echo -n \"$pkg \"; done)"
|
||||
).arg(packageList);
|
||||
|
||||
Calamares::JobResult installResult = runAptCommand(installCommand,
|
||||
rootMountPoint,
|
||||
|
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -2,6 +2,7 @@ calamares-settings-ubuntu (1:25.04.8) UNRELEASED; urgency=medium
|
||||
|
||||
* Add new global storage value for stacked squashfses and adjust config.
|
||||
* Switch Lubuntu to dracut.
|
||||
* Fix apt install functionality in pkgselectprocess.
|
||||
|
||||
-- Simon Quigley <tsimonq2@ubuntu.com> Wed, 20 Nov 2024 23:58:39 -0600
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user