TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Microsoft Ubuntu repositories are broken because of space issues

191 pointsby NiekvdMaasalmost 4 years ago

13 comments

yrroalmost 4 years ago
Microsoft&#x27;s dpkg packages themselves do some fairly weird&#x2F;annoying stuff in their maintainer scripts.<p>e.g., azuredatastudio contains code that manages a &#x2F;usr&#x2F;local&#x2F;bin&#x2F;code symlink...<p>... and it contains code that converts a PGP key in armored form to binary form and dumps it in &#x2F;etc&#x2F;apt&#x2F;trusted.gpg.d, even if the sysadmin already took the time to verify the PGP key and put it into their own .asc file in the same directory (ok, I guess at least they aren&#x27;t force-appending their key to the old&#x2F;deprecated&#x2F;monolithic &#x2F;etc&#x2F;apt&#x2F;trusted.gpg file like many others)...<p>... oh and in doing so they dump out microsoft.gpg to the current directory, whatever that may be... they should at least be using mktemp!<p>... and they are doing other things that they should be relying on debhelper to do for them, e.g. installing shared-mime-info-spec files manually rather than with dh_installmime; installing desktop-entry-spec files manually rather than relying on the triggers that already handle installation of such files...<p>As for teams, it has its own oddball way of monkeying with &#x2F;etc&#x2F;apt, and one other weirdness: it explicitly changes &#x2F;usr&#x2F;share&#x2F;teams&#x2F;chrome-sandbox to be setuid. If that file is supposed to be setuid then ship it as such... shipping it non-setuid and then modifing it in a maintainer script sets off alarm bells and breaks dpkg-statoverride...
评论 #27538790 未加载
评论 #27539629 未加载
评论 #27546188 未加载
phabalmost 4 years ago
The packages.microsoft.com repositories are regularly broken, which results in perennial build failures if you use GitHub Actions which includes it by default.<p>GitHub&#x27;s response to &quot;your default configuration is broken&quot; was basically &quot;welp, NOMFP&quot;:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;actions&#x2F;virtual-environments&#x2F;issues&#x2F;3410" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;actions&#x2F;virtual-environments&#x2F;issues&#x2F;3410</a>
评论 #27538261 未加载
评论 #27538323 未加载
评论 #27538246 未加载
评论 #27538263 未加载
throwawaybutwhyalmost 4 years ago
Not only Ubuntu. And not for the first time [0], [1], [3] (Stack Overflow). Would be surprised, however, if the servers are in space instead of under water [2].<p>[0] <a href="https:&#x2F;&#x2F;social.msdn.microsoft.com&#x2F;Forums&#x2F;en-US&#x2F;5d090bb8-6c22-4e8d-a534-3e79b3cb3113&#x2F;failed-to-fetch" rel="nofollow">https:&#x2F;&#x2F;social.msdn.microsoft.com&#x2F;Forums&#x2F;en-US&#x2F;5d090bb8-6c22...</a><p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;MicrosoftDocs&#x2F;windowsserverdocs&#x2F;issues&#x2F;5051" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;MicrosoftDocs&#x2F;windowsserverdocs&#x2F;issues&#x2F;50...</a><p>[2] <a href="https:&#x2F;&#x2F;news.microsoft.com&#x2F;innovation-stories&#x2F;project-natick-underwater-datacenter&#x2F;" rel="nofollow">https:&#x2F;&#x2F;news.microsoft.com&#x2F;innovation-stories&#x2F;project-natick...</a><p>[3] <a href="https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;59624773&#x2F;failed-to-fetch-https-packages-microsoft-com-repos-azure-cli-dists-bionic-main" rel="nofollow">https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;59624773&#x2F;failed-to-fetch...</a>
TimSchumannalmost 4 years ago
Just to clarify the title, Space in this context is the &#x27;Biggest Key on your Keyboard&#x27; kind not the &#x27;On Disk&#x27; kind.<p>It looks like a parsing issue where something in MS&#x27;s automated process is replacing various parts of filenames with spaces. Looks like &#x2F; and _ at a glance, but there could be more.<p>Just trying to prevent this type of comment, which I can only assume came from HN as nowhere in the Github issue does anyone mention disk space. -- <a href="https:&#x2F;&#x2F;github.com&#x2F;dotnet&#x2F;core&#x2F;issues&#x2F;6381#issuecomment-863157425" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;dotnet&#x2F;core&#x2F;issues&#x2F;6381#issuecomment-8631...</a>
评论 #27539588 未加载
fabbarialmost 4 years ago
None commented yet on the suggested issue? They ran out of space? Really? Azure Monitoring, Azure Sentinel - surely they have the simplest metric: used vs remaining space.<p>Or did they hit a limit in the blob&#x2F;file storage. Still: no monitoring?<p>You may have noticed I have so many questions on Microsoft Ops.
评论 #27538192 未加载
enriqutoalmost 4 years ago
&gt; because of space issues<p>yeah, spaces in filenames. A well-known yet insidious problem.<p>Is there any mount option to change raw spaces in the exposed filesystem with an unicode non-breaking space, or something?
评论 #27538702 未加载
G3rn0tialmost 4 years ago
Wanted to update my Teams on Ubuntu 20 in the morning (after coming to office after months working from home) and had the same issue. Removed the package and installed it from snap. Works like charm so far.
vmceptionalmost 4 years ago
Of all the social issues in the world, apt-get and wget 404ing for my version of linux are the only things that trigger me
merbalmost 4 years ago
it&#x27;s not just ubuntu, it&#x27;s basically all of them. basically my debian docker build failed because of that.
评论 #27538223 未加载
azalemethalmost 4 years ago
What SLA are Ubuntu mirrors held to? This doesn&#x27;t seem great, but won&#x27;t a quick run of mirrorselect remove the offending repos and let you get on with life?
评论 #27537344 未加载
评论 #27538690 未加载
alfiedotwtfalmost 4 years ago
I&#x27;ve also found the &#x27;:&#x27; character in filenames also breaks Linux under Windows :(
jijjialmost 4 years ago
its probably a silly question, but why are people using microsoft to fetch debian packages?
评论 #27539246 未加载
评论 #27538853 未加载
评论 #27541707 未加载
评论 #27538756 未加载
mixxitalmost 4 years ago
had this last night :( thanks for posting