I’m using some older Windows programs – abandonware stuff by this point – on Ubuntu Mate via Wine. I needed to install some custom fonts for these programs to use and had a bit of a time finding straightforward instructions on doing so. Turns out it’s easy. The fonts I needed are TrueType, so that’s all I’ve tested with.
Navigate to home/YOURUSERHOME/.wine/drive_c/windows/fonts
You will have to enable hidden files in order to see the .wine directory, and if you haven’t done so already you’ll need to open the fonts directory as administrator (from the windows directory right click the fonts directory and choose Open as Administrator). Dump your font(s) into that directory. Then open a prompt and enter:
sudo fc-cache -fv
This will rebuild the font information caches for fontconfig system. Then you should be good to go.
“Some index files failed to download.” That’s the error I got upon running apt-get update, after having Ubuntu Mate notify me that some of my updates are, er, out of date. The indexes that failed to download were related to Flux, which I really liked having on my Windows machines. Turns out that, as of this writing, the repository of Vivid Vervet (Ubuntu 15) for Flux ain’t there. Take a look for yourself and see. I suppose I could install an older version, but since I wasn’t interested in getting into any compatibility issues I decided to bail on Flux for now.
But I couldn’t uninstall Flux. It isn’t installed. I need to get rid of the repository information. You’d think that would be as simple as remove-apt-repository blah blah, since adding it is a simple add-apt-repository, but nope. There’s no remove-apt-repository. Ultimately I opened the path /etc/apt/sources.list.d as admin, and removed the associated list and save files. Reran apt-get update and voila – both the errors and the nag referring to out of date updates disappeared.
Bad news. A serious flaw in TrueCrypt has been found that potentially allows full system compromise. The worse news? There’s no truly trustworthy TC successor for Windows out there in the wilds so far. Microsoft and Symantec both offer encryption solutions, but surely they’re rife with back doors. VeraCrypt is a fork of TC, but so far there’s nothing to generate any confidence that it too isn’t compromised.
The good news, I suppose, is that so far it appears that TrueCrypt on Linux doesn’t have this newly found flaw. Also, it seems this flaw requires the machine to be on and in Windows. In other words, if your fully disk encrypted machine is powered down, or your drives are removed or are external and the machine isn’t with them, your data remains safe. Cold comfort, really.
We collect non-personal data to make money from our free offerings so we can keep them free, including: Advertising ID associated with your devices Browsing and search history, including meta data; Internet service provider or mobile network you use to connect to our products; and Information regarding other applications you may have on your device and how they are used. Sometimes browsing history or search history contains terms that might identify you. If we become aware that part of your browsing history might identify you, we will treat that portion of your history as personal data, and will anonymize this information. We may also aggregate and/or anonymize personal data we collect about you. For instance, although we would consider your precise location to be personal data if stored separately, if we combined the locations of our users into a data set that could only tell us how many users were located in a particular country, we would not consider this aggregated information to be personally identifiable.
That’s a huge italicized if. Basically a get out of jail free card. IF we become aware that we’re collecting identifying data. If we don’t, well, sorry. We weren’t aware.
The other day my neighbor headed to a United Airlines affiliated site in Chrome to book a trip and was greeted with “Server has a weak ephemeral Diffie-Hellman public key.” Full stop. She could not continue on to the site. This is occurring because there is an attack in the wild that takes advantage of a flaw in the Transport Layer Security protocol (a fancy way of saying the supposedly secure way in which a web server communicates to your browser) in order to watch your traffic. This is called a Man in The Middle Attack. Essentially it inserts itself between you and your destination and logs your conversation. You can read more about this here.
The solution is, unfortunately, out of your hands. Your browser isn’t broken – The site you’re trying to get to is. And, as evidenced by it affecting a United Airlines site, there are some heavy hitters who are vulnerable. Any site that’s running 1024 bit or less encryption needs to upgrade to 2048 to close the hole.
But in the meantime, what if you really, really need to get to that site? I’d tell you to try to contact the site owners and tell them to get it together, but realistically that’s not so easy (can you imagine calling United’s customer service and saying to the phone jockey who answered “Hey, y’all need to upgrade your public keys on your site because currently it’s vulnerable to the Logjam attack and any decent browser isn’t allowing your site to resolve.” Yeah, you’ll get traction there). So how do you get to the site? So far there doesn’t appear to be a way to tell Chrome to continue. You can try switching from HTTPS to HTTP, but most likely you’re hitting a login page and will be forced back to HTTPS (and the error). You can, however, weaken Firefox to allow navigation on these sites. Open a new tab and in the address field enter:
This opens the browser’s sekrit settings. Get past the warning, and then locate these two settings:
By default these are set to True. Change them to False and you’ll be able to hit the effected site. I STRONGLY recommend only doing this on a site you absolutely trust, and only in situations where there’s absolutely no other recourse, and I recommend changing these back to True as soon as you’re done on that site.
Surely you’ve already read that Windows 10 includes some pretty disappointing user tracking baked into it. Microsoft is also pushing this tracking down to its Windows 7 and 8 operating systems.
Aside: I get the Win 10 thing. It’s free. Do what you want with your free operating system. But quietly inserting anti-privacy shit into operating systems that people have already paid for? Ludicrous. Offensive. Ridiculous. It’s prompted me to finally get off my ass and move all the machines I can off of Windows and onto Linux, for good.
Anyway, yeah, MS is pushing this stuff into your operating system without really giving you any indication. The current list of updates that should trouble you are as follows:
In fact, you can save the above to a .bat file and run it. This takes them off, but unfortunately doesn’t prevent them from presenting themselves for install in the future. To fix that you’ll have to head to Windows Update, let it scan what you’re missing, and then go through that list hunting for each of these. When you come across one, right click it and choose to hide it.
This is the list for now… I sincerely doubt this is where it will end, however. Have you tried Linux lately?
My Sickbeard doesn’t like it, and doesn’t find it when it’s out there. Turns out the problem is how it’s being named out there in usenet land, and Sickie can’t figure it out. It also turns out Sickie has an exceptions database just for handling these sorts of situations. Problem is, this database doesn’t get updated very often. Good news is, you can update it yourself!
The database is cache.db, found in the program directory for Sickbeard. To add to this file you need to use a SQLite shell interface. You can see basic information on obtaining and using the shell interface on a previous post here.
Once you’re ready to go, fire up your interface from a command line:
Open the database (Pay attention to pathing. In this example I’m already working from within the directory containing cache.db) :
And use the following to insert “Stephen Colbert” as a general search term:
Breaking down this line a bit: 9999 is the exception ID you’re assigning to this exception. We’re just looking to get past all the existing exceptions without conflict. As of this writing my scene_exceptions table has 777 legit autofilled exceptions defined in it. 289574 is the TVDB.com ID for the Late Show, the next field is a the search term to be used for the show name (Stephen Colbert), and the final field is the provider, which is the tvdb.
That’s the error that seemingly randomly popped up on my screen.
The cache has no package named “wine1.7-i386”
I’m using Wine because there are some Windows specific things I need to be able to run. It seems that the updater may just not like Wine too much, because when I manually ran updates with a simple sudo apt-get update it upgraded without a problem and the error disappeared.
I might be bailing from Windows, but I still need it for work. Luckily I’ve been using Virtualbox for my work machine (for a variety of reasons I won’t get into here). However, I installed Vbox 5.02 on my Ubuntu MATE laptop, imported my virtual machine, and upon first run was greeted with:
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing
as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
I tried what the error said, but no dice. It could not recompile the vboxdrv kernel module. After a bit of searching around I found the following solution:
I’m using Ubuntu Mate 1.8.2 and for some unknown reason installed, or tried to install, the AVG deb package (avg2013flx). Well, the install failed. I did some research to attempt to rectify this and instead came to the conclusion that I didn’t need AVG in the first place. So I tried uninstalling it… and that failed:
Turns out part of the install failure involved the installers inability to fire up the AVG service, avgd.service, and that’s where the uninstaller was choking – trying to turn off that service that wasn’t on in the first place. What a stupid ass uninstallation script. Thankfully the fix was pretty easy:
Open an elevated (sudo) text editor of your choosing and navigate to /var/lib/dpkg/info and open the file avg2013flx.prerm
Locate all instances of the following lines (my prerm had two sets) and comment them out by placing a pound sign (or a number sign or hashtag depending on your age, geographic location or level of nerdiness) at the beginning of each line.
Save the file, and then attempt to uninstall the app again:
sudo apt-get remove --purge avg2013flx
If you were having the same problem I was, that should do the trick.