SULDR Forums Supported Printers Printing Questions Scanning Questions General Questions Samsung Installer

repo broken

Started by oldunixguy, July 26, 2018, 01:25:13

Previous topic - Next topic

oldunixguy

I am running Ubuntu 14.04 LTS 64-bit
I have included this repo for a long time.
My repo entry is:
deb http://www.bchemnet.com/suldr/ debian extra

I do not have the src checked.

Today, I started getting errors when running apt-get update OR synaptic update.
Doing a wireshark and watching the repo interaction with SULDR it clearly shows errors.

What is going wrong?
thanks
oldunixguy

Here is an excerpt:

GET /suldr/dists/debian/InRelease HTTP/1.1
Host: www.bchemnet.com
Cache-Control: max-age=0
Accept: text/*
User-Agent: Debian APT-HTTP/1.3 (1.0.1ubuntu2)

HTTP/1.1 302 Found
Content-Type: text/html
Content-Length: 593
Date: Thu, 26 Jul 2018 06:01:00 GMT
Accept-Ranges: bytes
Cache-Control: no-cache, no-store, must-revalidate, max-age=0
Location: https://www.bchemnet.com/suldr/dists/debian/InRelease
Strict-Transport-Security: max-age=63072000; includeSubDomains
X-Frame-Options: SAMEORIGIN
X-Content-Type-Options: nosniff
Connection: Keep-Alive

<!DOCTYPE html>
<html style="height:100%">
<head><title> 302 Found
</title></head>
<body style="color: #444; margin:0;font: normal 14px/20px Arial, Helvetica, sans-serif; height:100%; background-color: #fff;">
<div style="height:auto; min-height:100%; ">     <div style="text-align: center; width:800px; margin-left: -400px; position:absolute; top: 30%; left:50%;">
        <h1 style="margin:0; font-size:150px; line-height:150px; font-weight:bold;">302</h1>
<h2 style="margin-top:20px;font-size: 30px;">Found
</h2>
<p>The document has been temporarily moved.</p>
</div></div></body></html>
GET /suldr/dists/debian/extra/binary-amd64/Packages.bz2 HTTP/1.1
Host: www.bchemnet.com
Cache-Control: max-age=0
User-Agent: Debian APT-HTTP/1.3 (1.0.1ubuntu2)

bchemnet

I think this is due to a temporary routing error between your computer and the server.  It should clear soon on its own if it has not already.

oldunixguy

I just retried it using synaptic.... still getting errors. image attached.

reports "bad header line"

thanks
oldunixguy

... a standard screenshot on ubuntu cant be attached because it apparently is too large file size. My typical screen shot is between 200 and 300kb on my laptop.

bchemnet

Probably a bad cache file that isn't clearing due to the temporary network glitch.  Try purging the apt cache:
rm -rf /var/lib/apt/lists/*

oldunixguy

This fixed it!
Thanks
oldunixguy

parrotlarch

I didn't wanted to create a new discussion, so I'm writing here, because as I can see the repo is broken or empty.
I have a old usb samsung scx 4521f. I've been using this repo for like forever. On a new system I added repo, installed keyring, but apt finds no packages. It finds no suldr-driver-4.00.39. Actually when I search with aptitude search suld, it finds only this installed keyring.

oldunixguy

I see that my references to this repo are again failing....
I will try the rm -rf /var/lib/apt/lists/* again.
oldunixguy

bchemnet

The repository is up, but there may be some temporary network path issue reaching it from some locations.  If the issues persists in a day or two and clearing the cache does not solve it, reply here.

oldunixguy

as a data point... I just ran an apt-get update and your relevant entries are failing as follows. I'm no expert on apt so I don't know whether this is expected or not:

Get:1 http://www.bchemnet.com debian Release.gpg
Err http://www.bchemnet.com debian/extra amd64 Packages
Err http://www.bchemnet.com debian/extra i386 Packages
Get:3 http://www.bchemnet.com debian/extra amd64 Packages
Get:3 http://www.bchemnet.com debian/extra amd64 Packages
Err http://www.bchemnet.com debian/extra amd64 Packages
Err http://www.bchemnet.com debian/extra i386 Packages
Get:4 http://www.bchemnet.com debian/extra amd64 Packages
Err http://www.bchemnet.com debian/extra amd64 Packages
Err http://www.bchemnet.com debian/extra i386 Packages
Err http://www.bchemnet.com debian/extra amd64 Packages
Err http://www.bchemnet.com debian/extra i386 Packages
Bad header line

W: Failed to fetch http://www.bchemnet.com/suldr/dists/debian/extra/binary-amd64/Packages  Bad header line

parrotlarch

Tried it again,and cleared the cache, but no luck.
Great thanks, for such a quick reply!!

bchemnet

Quote from: oldunixguy on November 27, 2018, 00:09:35
W: Failed to fetch http://www.bchemnet.com/suldr/dists/debian/extra/binary-amd64/Packages  Bad header line

When this error occurs with an otherwise apparently working repository or one that had been working, it pretty much always means some sort of network traffic error occurred.  The error should automatically clear quickly, but apt sometimes get stuck in some odd state.  Usually clearing the cache takes care of it, but obviously not this time.  Some other things you can try to force apt to find the repository again:
1. Change the "http" to "https" in the repository source line.  In some cases, it might be necessary to update the repository files, and then revert back to "http" to get it to work.
2. Comment out/deactivate (or delete) the bchemnet repository line, update apt, add the line back and update again.
3. If neither of the above works, it could be a persistent DNS or path resolution problem.  (However, I doubt this because if it was you would probably not be able to reach this forum.)  If know how, you can try changing the DNS servers being used by your computer/network, updating apt, and then changing the DNS servers back.
4. Wait 24 hours, clear the cache again, and repeat 1 or 2.

parrotlarch

Thank you so much! Repo works, and the driver installed!
After applying your tips from point 1 and 2 aptitude told me, that the package apt-transport-https is not installed (and it should be). After installing the package and updating repos everything works fine.

The thing is that only  driver from your repo let me use scanner, I tried official samsung drivers and every tip from the internet. You saved me from using Windows just because of the printer. Once again thanks for your help, and for your hard work!

oldunixguy

Happened again recently.... the rm -rf /var/lib/apt/lists/* cure does cure it!
thanks
oldunixguy

Repository Information Legal Contact Alternative Drivers