Bug 6154 - tl-setup doesn't work with broken repos on apt systems
Summary: tl-setup doesn't work with broken repos on apt systems
Status: CLOSED FIXED
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Server Installer (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.13.0
Assignee: Samuel Mannehed
URL:
Keywords: nikle_tester, prosaic
Depends on:
Blocks:
 
Reported: 2017-01-31 16:18 CET by Samuel Mannehed
Modified: 2021-05-06 10:55 CEST (History)
2 users (show)

See Also:
Acceptance Criteria:


Attachments

Description Samuel Mannehed cendio 2017-01-31 16:18:51 CET
I had a cdrom repo that was unreachable on a Ubuntu 16.10 server machine. This caused tl-setup to fail.

tl-setup said:

> Resolving packages and dependencies... failed.
>
> Failed to resolve required packages and dependencies.

tlsetup.log said:

> 2017-01-31 06:52:34,906: Resolving packages...
> 2017-01-31 06:52:36,673: failed to resolve packages with reason: E:The repository 'cdrom://Ubuntu-Server 16.10 _Yakkety Yak_ - Release amd64 (20161012.1) yakkety Release' does not have a Release file.
> 2017-01-31 06:52:36,674: Failure resolving packages.

While normal installation and upgrades using apt worked perfectly fine, I had to manually disable the repo (remove from /etc/apt/sources.list) in order for tl-setup to work.
Comment 2 Samuel Mannehed cendio 2021-05-05 15:24:51 CEST
Fixed now - reproduced the error and later verified the fix on Ubuntu 20.04 using the following line in '/etc/apt/sources.list':

deb cdrom:[Ubuntu-Server 16.10 _Yakkety Yak_ - Release amd64 (20161012.1) yakkety Release]/ focal main
Comment 3 Niko Lehto cendio 2021-05-06 10:55:14 CEST
Reproduced with 4.12.1 on Ubuntu 20.04 with the same modifications to 'sources.list' as described in comment #2.

Looks good now with build 2047!

Note You need to log in before you can comment on or make changes to this bug.